Comment relier les prototypes en js en utilisant la méthode d'appel

// Linking both
// ElectricCar.prototype is what you want to link
// Car.prototype is where you want to link the ElectricCar.prototype.

ElectricCar.prototype = Object.create(Car.prototype);
Smoggy Swiftlet