Nalini1998 / Project_Public

MIT License
2 stars 0 forks source link

Theory: Instance properties in Object #561

Closed Nalini1998 closed 1 year ago

Nalini1998 commented 1 year ago

These properties are defined on Object.prototype and shared by all Object instances.

Object.prototype.proto Deprecated Points to the object which was used as prototype when the object was instantiated.

Object.prototype.constructor The constructor function that created the instance object. For plain Object instances, the initial value is the Object constructor. Instances of other constructors each inherit the constructor property from their respective Constructor.prototype object.