Tell us what’s happening:
Describe your issue in detail here.
What is the difference between ‘instanceof’ and ‘isPrototypeOf’?
Your code so far
function Dog(name) {
this.name = name;
}
let beagle = new Dog("Snoopy");
// Only change code below this line
Dog.prototype.isPrototypeOf(beagle);
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36
Challenge: Understand Where an Object’s Prototype Comes From
Link to the challenge: