projecte_ionic/node_modules/has/README.md
2022-02-09 18:30:03 +01:00

239 B
Executable file

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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