Hey I don’t understand what I’m doing wrong:
function Animal() { }
function Bird() { }
function Dog() { }
Bird.prototype = Object.create(Animal.prototype);
Dog.prototype = Object.create(Animal.prototype);
// Add your code below this line
duck.prototype.constructor=Bird;
beagle.prototype.constructor=Dog;
let duck = new Bird();
let beagle = new Dog();