window.document object for browser.

The window object is a global object which has various object to access various functionality of browser. below diagram gives an overview of window object.

Here’s a bird’s-eye view of what we have when JavaScript runs in a web-browser:

In this article, we will look at the properties of the window.document. if you do inspect and go to console and type window.document. Browser…