function func(a, b) {
this.a = a;
this.b = b;
}
const result = new func(3, 8);
console.log(result instanceof func);
console.log(result instanceof Object);
console.log(func instanceof func);
console.log(func instanceof Object);
/*
run:
true
true
false
true
*/