Question: Make Bear inherit from Mammal by assigning Bear with a copy of Mammal's prototype and setting the Bear class' prototype constructor to Bear's constructor function.

Make Bear inherit from Mammal by assigning Bear with a copy of Mammal's prototype and setting the Bear class' prototype constructor to Bear's constructor function. function Mammal) 2 / Mammal class constructor cod el 4 5 function Bear) 6 Mammal.call(this); 7 9/Your solution goes here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
