APL/DEV 4.3/TP07/node_modules/has/README.md
2023-03-24 16:04:40 +01:00

239 B

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true