Object.prototype.hasOwnProperty.call shortcut
npm install --save has
var has = require('has'); has({}, 'hasOwnProperty'); // false has(Object.prototype, 'hasOwnProperty'); // true
Last updated 2 years ago