const instanceOf = (A,B) => {
let p =A;
while§ {
if(p === B.prototype) {
return true
}
p = p.proto
}
return false
}
1
const instanceOf = (A,B) => {
let p =A;
while§ {
if(p === B.prototype) {
return true
}
p = p.proto
}
return false
}
1