Use Prototype Properties to Reduce Duplicate Code - not passing

Tell us what’s happening:


seems to be working here why is it not passing the tests?

Your code so far


function Dog(name) {
  this.name = name;
  
}
  Dog.prototype.numlegs=2;


// Add your code above this line
let beagle = new Dog("Snoopy");

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code

How many legs does a dog have ? Also double check camelCase…