Tag: 原型链

instanceof在节点4中评估为真,但不在节​​点6中评估

当我在节点4中执行此操作时,最后一条语句的计算结果为true ,但是在节点6中,它的计算结果为false 。 为什么? F = () => {}; F.prototype = {}; Object.create(F.prototype) instanceof F;