How OOP works in JS (Part 1 – Prototype and Prototype Chaining)

How OOP works in JS

Before starting we have to keep in mind that Javascript is not a class-based object-oriented language. Javascript is a prototype based language. Lets see the definition of Class based language and Prototype based Javascript. In the future, a blog will be written discussing the difference between Class based language and Prototype based Javascript. According to […]