Prototypal Inheritance
An object(Child) getting accessed to properties and functions of another object(Parent).
In JavaScript, Array and Functions are inherited from Object.
we can see the parent object using __proto__
property.
for more details check here.
Last updated