When an object inherits its <code>prototype</code> from another object, it also inherits the <code>supertype</code>'s constructor property.
Here's an example:
<blockquote>function Bird() { }<br>Bird.prototype = Object.create(Animal.prototype);<br>let duck = new Bird();<br>duck.constructor // function Animal(){...}</blockquote>
But <code>duck</code> and all instances of <code>Bird</code> should show that they were constructed by <code>Bird</code> and not <code>Animal</code>. To do so, you can manually set <code>Bird's</code> constructor property to the <code>Bird</code> object:
<blockquote>Bird.prototype.constructor = Bird;<br>duck.constructor // function Bird(){...}</blockquote>
</section>
## Instructions
<sectionid='instructions'>
Fix the code so <code>duck.constructor</code> and <code>beagle.constructor</code> return their respective constructors.
</section>
## Tests
<sectionid='tests'>
```yml
- text: <code>Bird.prototype</code> should be an instance of <code>Animal</code>.