constructor vs instanceof 2019-06-15 本文已影响0人 noyanse constructor 实例对象上的属性,指向创建实例对象的对象,可修改 instaceof 检测这个实例是不是由这个对象创建的