uni-ticket-system/node_modules/has
2023-12-05 10:11:10 +08:00
..
src submit 2023-12-05 10:11:10 +08:00
test submit 2023-12-05 10:11:10 +08:00
LICENSE-MIT submit 2023-12-05 10:11:10 +08:00
package.json submit 2023-12-05 10:11:10 +08:00
README.md submit 2023-12-05 10:11:10 +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