Overriding Methods & Properties
This lesson teaches us how to override methods and properties in both the ES5 and ES6 versions of JavaScript.
We'll cover the following...
Overriding in the ES5 Version
The properties and methods defined on the prototype of a constructor function can be overridden when inherited by another constructor function.
Example
Let’s take a look at an example implementing this:
Access this course and 1400+ top-rated courses and projects.