30eef7d036 | ||
---|---|---|
.. | ||
src | ||
test | ||
.jshintrc | ||
.npmignore | ||
LICENSE-MIT | ||
README.mkd | ||
package.json |
README.mkd
has
Object.prototype.hasOwnProperty.call shortcut
Installation
npm install --save has
Usage
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true