Oct 10, 2018

JavaScript uses prototypal inheritance.

Prototypes in JS are used as references to other objects, allowing you to extend and build behavior through the prototype chain. You can build similar behavior to classical inheritance with the prototype chain.