function House(numBedrooms) {
this.numBedrooms = numBedrooms;
}
// Only change code below this line
let myhouse = new House(5);
myHouse instanceof House;
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36.
Challenge: Verify an Object’s Constructor with instanceof