Prototype Property
This lesson explains the prototype property of objects and what __proto__ is used for by using an example.
We'll cover the following...
__proto__
Property
In JavaScript, objects contain a property [[Prototype]]
that is hidden. This property either points to another object or is null
.
The [[Prototype]]
property of objects, i.e., anObject.[[Prototype]]
defines the prototype of ...
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy