You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matthew Butterick 3f36e2ce2c | 7 years ago | |
---|---|---|
.. | ||
src | 7 years ago | |
test | 7 years ago | |
.jshintrc | 7 years ago | |
.npmignore | 7 years ago | |
LICENSE-MIT | 7 years ago | |
README.mkd | 7 years ago | |
package.json | 7 years ago |
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