prototype
๐ง under construction
Last updated
Was this helpful?
๐ง under construction
Last updated
Was this helpful?
โฉ โฉ โฉ prototype
desc
__proto__
is a for [[Prototype]] and resides in Object.prototype.
is considered outdated, modern methods are:
to access [[Prototype]]
(which is hidden and internal).
prototype chain can't go in circles.
MDN โฉ โฉ
You Don't Know JS: this & Object Prototypes โฉ
- Object.prototype, Number.prototype, Array.prototype ...
- ่ชชๆ class A ่ class A extends Object ๆไฝไธๅ โญ๏ธ