Beginner JavaScript
Q16 / 100

What is the prototype chain?

Correct! Well done.

Incorrect.

The correct answer is B) The mechanism by which objects inherit properties and methods from other objects via the __proto__ / prototype link

B

Correct Answer

The mechanism by which objects inherit properties and methods from other objects via the __proto__ / prototype link

Explanation

When accessing a property, JS searches the object, then its prototype, then the prototype's prototype, up to null. This chain enables inheritance.

Progress
16/100