sakuya/node_modules/has
2022-04-10 00:37:53 +08:00
..
src 整理桌面 2022-04-10 00:37:53 +08:00
test 整理桌面 2022-04-10 00:37:53 +08:00
LICENSE-MIT 整理桌面 2022-04-10 00:37:53 +08:00
package.json 整理桌面 2022-04-10 00:37:53 +08:00
README.md 整理桌面 2022-04-10 00:37:53 +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