Question 7 of 8Pro Only
Explain prototypal inheritance in JavaScript. How does it differ from classical inheritance?
Sample answer preview
Prototypal inheritance is JavaScript's mechanism for objects to inherit properties and methods from other objects. Every object has an internal link to another object called its prototype. When you access a property on an object, JavaScript first looks at the object itself.
prototypeprototype chaininheritanceObject.create__proto__constructor