WBE_Praktikum_7/code/node_modules/has
schrom01 3ab6cc0b8a solved lab 2022-11-24 21:06:23 +01:00
..
src solved lab 2022-11-24 21:06:23 +01:00
test solved lab 2022-11-24 21:06:23 +01:00
LICENSE-MIT solved lab 2022-11-24 21:06:23 +01:00
README.md solved lab 2022-11-24 21:06:23 +01:00
package.json solved lab 2022-11-24 21:06:23 +01:00

README.md

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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