qwqdanchun.github.io/node_modules/has
qwqdanchun 1b6a0fbb18 test 2022-11-11 19:16:46 +08:00
..
src test 2022-11-11 19:16:46 +08:00
test test 2022-11-11 19:16:46 +08:00
LICENSE-MIT test 2022-11-11 19:16:46 +08:00
README.md test 2022-11-11 19:16:46 +08:00
package.json test 2022-11-11 19:16:46 +08:00

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