window top-level property
Top-level container for a web page, which is usually a browser tab or window.
Each web page loaded in the browser has its ownWindow, which is acontainer for the web page.
If the web page has any<iframe> elements, then each<iframe> has its ownWindow object, which is accessible only to that<iframe>.
See also:
- Window from MDN.
Implementation
Window get window => JS('Window', 'window');