Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
function Animal() { }
Animal.prototype = {
constructor: Animal,
eat: function() {
console.log("nom nom nom");
}
};
// Only change code below this line
let duck = Object.create(Animal.protoype); // Change this line
let beagle = Object.create(Animal.protoype); // Change this line
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
Challenge: Inherit Behaviors from a Supertype
Link to the challenge: