isPrototypeOf()回答的问题是:在a的整条[[prototype]]链中是否出现过Foo.prototype。Foo.prototype.isPrototypeOf(a);//true
评论