Everyone of us know, Inheritance is a way to acquire properties and methods of another object. In other words it is a way to establish is-a relationship between two objects. The static languages by default provide some easier ways to achieve this. For an example, we have "extend" keyword in Java for extending other object. JavaScript is protypal inheritance language (class-free) means that objects can inherit properties from other objects. Let's see an example. Let's create a parent class for Animal /** * Animal - Constructor and parent class for all animals. * @param {Object} aType - Type of the animal * @param {Object} aName - Name of the animal */ function Animal(aType, aName) { this.type = aType; this.name = aName; } Animal.prototype.eat = function() { console.log('All animal will eat'); }; We have to do following steps for extending animal class. 1. Calling super class constructor from child class constructor. 2. Setting up prot...