JavaScript Inheritance
The property of acquiring all the properties and behaviors of the parent object by an object is termed as inheritance. This is a unique feature in object-oriented programming languages that facilitates re-usability of the code of the parent class by the derived class. In JavaScript, extends keyword is used to serve the purpose of inheritance. … Read more