Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
function Dog(name) {
this.name = name;
}
Dog.prototype = {
// Only change code below this line
numLegs = 2,
eat: function(){
console.log("nom nom nom");
},
describe: function(){
console.log("My name is " +this.name);
}
};
**Your browser information:**
User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Mobile/15E148 Safari/604.1
Challenge: Change the Prototype to a New Object
Link to the challenge: