**Tell us what’s happening:**This is correct, why can’t i pass?
Your code so far
function Dog(name) {
this.name = name;
}
let beagle = new Dog("Snoopy");
console.log(beagle.name);
// Add your code below this line
beagle.isPrototypeOf(dog);
console.log(Dog.isPrototypeOf(beagle));
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/object-oriented-programming/understand-where-an-objects-prototype-comes-from