Inheritance

JavaScript Prototypes and the Prototype Chain
JavaScript Prototypes and the Prototype Chain
A deep, practical explanation of JavaScript prototypes — what [[Prototype]] really is, how the prototype chain is searched, the difference between `__proto__` and `prototype`, Object.create, and how prototypes power inheritance under the surface of every class.