daShangDao_newAdmin/node_modules/has
2025-06-05 10:35:45 +08:00
..
src Initial commit 2025-06-05 10:35:45 +08:00
test Initial commit 2025-06-05 10:35:45 +08:00
LICENSE-MIT Initial commit 2025-06-05 10:35:45 +08:00
package.json Initial commit 2025-06-05 10:35:45 +08:00
README.md Initial commit 2025-06-05 10:35:45 +08: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