Class-based Inheritance in ES5
This lesson teaches how class-based inheritance is implemented in the ES5 version by using constructor functions.
We'll cover the following
Inheritance Using Constructor Functions
In the last lesson, we learned how objects inherited from the constructor function’s prototype object using the prototype chain. The same concept could also be used in the implementation of class-based inheritance i.e., where one class inherits the properties (including methods) from another class.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy