DigitalConsumer.FixMyGlass/node_modules/has
2021-09-20 18:29:11 -04:00
..
src my commit 2021-09-20 18:29:11 -04:00
test my commit 2021-09-20 18:29:11 -04:00
LICENSE-MIT my commit 2021-09-20 18:29:11 -04:00
package.json my commit 2021-09-20 18:29:11 -04:00
README.md my commit 2021-09-20 18:29:11 -04: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