Prototype & Prototypal Inheritance

What will be logged for eagle.legs?
function Animal() {}
Animal.prototype.legs = 4;

function Bird() {}
Bird.prototype = Object.create(Animal.prototype);
Bird.prototype.constructor = Bird;
Bird.prototype.wings = 2;
Bird.prototype.legs = 2;

const eagle = new Bird();
Animal.prototype.legs = 6;
console.log(eagle.legs);
Next Question (20/22)