Intermediate JavaScript
Q47 / 100

What is prototype-based inheritance in JavaScript?

Correct! Well done.

Incorrect.

The correct answer is B) Objects inherit directly from other objects via prototype links, not class blueprints

B

Correct Answer

Objects inherit directly from other objects via prototype links, not class blueprints

Explanation

JS uses prototypal inheritance. ES6 classes are syntactic sugar over prototype chains. Object.create(proto) creates an object with proto as its prototype.

Progress
47/100