PIbd-22.-Stroev-V.M.-Intern.../Lab2/node_modules/has
2023-10-28 00:49:09 +03:00
..
src Lab2 2023-10-28 00:49:09 +03:00
test Lab2 2023-10-28 00:49:09 +03:00
LICENSE-MIT Lab2 2023-10-28 00:49:09 +03:00
package.json Lab2 2023-10-28 00:49:09 +03:00
README.md Lab2 2023-10-28 00:49:09 +03: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