bloodymary/node_modules/has
2020-05-17 12:54:33 +00:00
..
src Changes of linux canary v0.0.103 88 2020-05-17 12:54:33 +00:00
test Changes of linux canary v0.0.103 88 2020-05-17 12:54:33 +00:00
LICENSE-MIT Changes of linux canary v0.0.103 88 2020-05-17 12:54:33 +00:00
package.json Changes of linux canary v0.0.103 88 2020-05-17 12:54:33 +00:00
README.md Changes of linux canary v0.0.103 88 2020-05-17 12:54:33 +00:00

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true