Question: let mm = new Cat (Megan); new Cat(Jack); jj.saywhat function() { console.log(What?); } let ji Cat.prototype.heyhey = function() { console.log(hey....HEY!); } Explain the difference between

let mm = new Cat ("Megan"); new Cat("Jack"); jj.saywhat function() { console.log("What?"); } let ji Cat.prototype.heyhey = function() { console.log("hey....HEY!"); } Explain the difference between jj. saywhat and Cat.prototype.heyHey in terms of what methods mm and jj have access to
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
