$ npm install has
Object.prototype.hasOwnProperty.call shortcut
npm install --save has
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true
© 2010 - cnpmjs.org x YWFE | Home | YWFE