Object.prototype.isPrototypeOf()

想要知道A对象是否是B对象的原型对象时,用此方法。

A.isPrototypeOf(B)

 

posted @ 2021-02-12 18:51  呈心者  阅读(93)  评论(0编辑  收藏  举报