使用instanceof验证对象的构造函数
/* jshint expr: true */
function House(numBedrooms) {
this.numBedrooms = numBedrooms;
}
// Add your code below this line
let myHouse=new House(5);
myHouse instanceof House;
/* jshint expr: true */
function House(numBedrooms) {
this.numBedrooms = numBedrooms;
}
// Add your code below this line
let myHouse=new House(5);
myHouse instanceof House;