You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wenyi
f0fcd2dee1
|
5 months ago | |
---|---|---|
.. | ||
src | 5 months ago | |
test | 5 months ago | |
LICENSE-MIT | 5 months ago | |
README.md | 5 months ago | |
package.json | 5 months 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