has
Object.prototype.hasOwnProperty.call shortcut
Installation
npm install --save has
Usage
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true
Name |
Last commit
2f3728dc
-
[属于用户对应的权限,可以少不能多]
|
History
|
Last Update |
---|---|---|
.. | ||
src | Loading commit data... | |
test | Loading commit data... | |
LICENSE-MIT | Loading commit data... | |
README.md | Loading commit data... | |
package.json | Loading commit data... |