![]() In this post I’m going to explain how JavaScript’s prototype chain works, and how you can use it to achieve inheritance.įirst, it’s important to understand that while JavaScript is an object-oriented language, it is prototype-based and does not implement a traditional class system. This is the first post in a series on JavaScript. Understanding JavaScript: Inheritance and the prototype chain
0 Comments
Leave a Reply. |