//判断只有原型属性 function isProperty(object, property){ return !object.hasOwnProperty(property) && (property in object); }