Prototype
โ Model blueprint Object to Delegate methods & properties, link via __proto__
, to mimic "classical" OOP Inheritance
__proto__
โ
[[ ]]
property on all objects, link to Constructor Function
<Object\>.prototype === <Object\>.__proto__
.isPrototypeOf()
โ
return boolean
if <calling object> prototype of linked object
Referencesโ
Prototypal Inheritance
โ Link for all Object to their Prototype, to mimic Inheritance access to Method & propsArray
โ Global Object Prototype for Array data typenew
โ JS Operatorto call Constructor Function, assignthis
keyword & link to PrototypePrototype Chain
โ Series of links to connect Object to Prototype; to mimic Inheritance