Use Prototype Properties to Reduce Duplicate Code- not passing tests

Tell us what’s happening:

Not sure why this is not passing the tests.

Your code so far

function Dog(name) { = name;


// 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/68.0.3440.106 Safari/537.36.

Link to the challenge:

numLegs, with uppercase L.