A curiosity: I wonder if the window is rendered by dom
when loading the window, since the document is usually window.document.html
. Or does dom
come after this parameter?
A curiosity: I wonder if the window is rendered by dom
when loading the window, since the document is usually window.document.html
. Or does dom
come after this parameter?
Since the DOM is part of the window object, soon the window object must come first to render it. See the documentation for W3schools where it says the following:
Tip: The document is a part of the Window object and can be accessed through window.document.
It means that as soon as HTML is loaded, it becomes the DOM Object. Logo window is not rendered by document, but rather the other way around.