The self property

The self property is another way of saying “the current window” in JavaScript. It is used like the window object and can be useful if you have a lot of windows with names and want to be sure you are using a property of the current window not one of another named window.

Leave a Reply