摘要: 方案一:instanceof 方案二:原型prototype + toString + call() 方案三:原型prototype + isPrototypeOf() isPrototypeOf() 函数 : 用于指示对象是否存在于一个对象的原型链中。如果存在返回true,反之返回false。该方 阅读全文
posted @ 2018-11-20 14:53 倒霉催的 阅读(28502) 评论(0) 推荐(0)