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.
Aadhavan Srinivasan 92b3795e10 | 1 year ago | |
---|---|---|
.. | ||
src | 1 year ago | |
test | 1 year ago | |
LICENSE-MIT | 1 year ago | |
README.md | 1 year ago | |
package.json | 1 year ago |
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