Luna 4f63b4f9a0 | ||
---|---|---|
.. | ||
src | ||
test | ||
LICENSE-MIT | ||
README.md | ||
package.json |
README.md
has
Object.prototype.hasOwnProperty.call shortcut
Installation
npm install --save has
Usage
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true