2019-09-12 23:38:13 +09:00
..
2019-09-12 23:38:13 +09:00
2019-09-12 23:38:13 +09:00
2019-09-12 23:38:13 +09:00
2019-09-12 23:38:13 +09:00
2019-09-12 23:38:13 +09: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