Object Oriented Programming: Reset an Inherited Constructor Property

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();

duck.prototype.constructor=Bird;
beagle.prototype.constructor=Dog;

duck and beagle aren’t created yet, you need to change the constructor property on the constructor functions that will be used to create those objects.