has

Object.prototype.hasOwnProperty.call shortcut

has

Object.prototype.hasOwnProperty.call shortcut

npm install --save has
var has = require('has');
 
has({}, 'hasOwnProperty'); // false 
has(Object.prototype, 'hasOwnProperty'); // true