Prototypes page
Learn how to explore an object’s proto chain.
The problem
What is the value of frozen
’s rated
property that it inherited from the Entertainment
prototype?
What you need to know
The following sets up the same Animal
, Chordate
, and Mammal
inheritance chain from the Prototypes JavaScript course.
You can inspect the Mammal instance m
and see its __proto__
property:
The solution
Click to see the answer
The answer is b
.