What is the relationship between the window object and the Object object in javascript?

what is the relationship between the window object and the Object object in javascript?

Oct.17,2021

window is a built-in global Object,window created by Object and inherits the properties and methods of Object through prototype chains


I understand that Lou Zhu doesn't have a deep understanding of the window object.

At the top of the

browser object hierarchy is the window object. What does it stand for? It's just a browser window.
A user can open multiple windows within the browser, each of which is a separate window object, which may load different url , even with the same url address, they are independent of each other.

To put it another way, the window object is the parent of all objects in the browser DOM , and the parent is also the object, so the ancestor of the window object is also Object .


you have to say something that doesn't matter. The prototype chain of the window object has Object.prototype upstream.

window instanceof Object;  // true

   
at the same time, the prototype of the window object is on the prototype chain headed by the Object prototype!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b373fb-4ece2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b373fb-4ece2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?