Internet_Programming_PIbd-2.../node_modules/has
2023-12-22 12:45:04 +04:00
..
src commit 2023-12-22 12:45:04 +04:00
test commit 2023-12-22 12:45:04 +04:00
LICENSE-MIT commit 2023-12-22 12:45:04 +04:00
package.json commit 2023-12-22 12:45:04 +04:00
README.md commit 2023-12-22 12:45:04 +04: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