实现 instanceof instanceof是在 左边的原型链上是否可以找到b function myInstanceof(left, right){ let protottype = right.protottype while(true){ if(left === null || left === undefined) return false if(left === protottype) return true left = left.__proto__ } }