In object-oriented programming, understand inheritance isn’t a terribly complicated idea: a sublass has its own unique attributes and methods and inherits those of its parent class.
Although JavaScript is an object-oriented programming language, it’s inheritance model doesn’t follow the traditional class-model above. Instead, it uses prototypal inheritance.
[Read more…] about Understanding Prototypal Inheritance in JavaScript