JavaScript Window Document
JavaScript Window Document
The document object is the root node of the HTML document. It is a very important property of a window object. When the whole web page is loaded, it is transformed into a document object or becomes a document object.
Syntax:-
Its syntax is:- window.document OR document