Detalhes do pacote

has

tarruda130.3mMIT1.0.4

Object.prototype.hasOwnProperty.call shortcut

readme (leia-me)

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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