function myInstanceof(x, fn) { if (typeof x !== 'object') return false let p = x.__proto__ if (p === null) return false if (p !== fn.prototype) { return myInstanceof(p, fn) } else { return true } }
function myInstanceof(x, fn) { if (typeof x !== 'object') return false let p = x.__proto__ if (p === null) return false if (p !== fn.prototype) { return myInstanceof(p, fn) } else { return true } }