Tags: inheritance

Multiple Inheritance in ES6 with Proxies

Inheritance in JavaScript

As you probably know, JavaScript features an inheritance pattern called prototypal inheritance. In simplified terms, it means that objects have a prototype, and when a property of an object is accessed, it’s first checked if the object itself has the property, and if not, the same is done for its prototype and so on. This is a very powerful model, not least because of its flexibility. You can even use it to simulate classical inheritance.


Posted 2012-11-28T05:00:00.000Z.