huituanxueqian 7740728225 commit | 1 rok pred | |
---|---|---|
.. | ||
src | 1 rok pred | |
test | 1 rok pred | |
LICENSE-MIT | 1 rok pred | |
README.md | 1 rok pred | |
package.json | 1 rok pred |
Object.prototype.hasOwnProperty.call shortcut
npm install --save has
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true