haifa-reminder/node_modules/has
2023-07-26 14:01:58 +03:00
..
src adding node_modules + dist 2023-07-26 14:01:58 +03:00
test adding node_modules + dist 2023-07-26 14:01:58 +03:00
LICENSE-MIT adding node_modules + dist 2023-07-26 14:01:58 +03:00
package.json adding node_modules + dist 2023-07-26 14:01:58 +03:00
README.md adding node_modules + dist 2023-07-26 14:01:58 +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