所有对象都有的属性和方法

constructor;
obj.hasOwnProperty(propertyName);
obj.propertyIsEnumerable(propertyName);
obj.property.isPrototypeOf(obj);
obj.toLocaleString();
obj.toString();
obj.valueOf();

猜你喜欢

转载自blog.csdn.net/xujiezi/article/details/83818578