function hasProp(obj, prop) { return hasOwn.call(obj, prop); }. hasOwn 是對 Object.prototype.hasOwnProperty 的引用。 是否有任何實際的差異來編寫這裡函數.
確定! 回上一頁