tree: 6057c2c9badb01aabdac5e9cfbfd38e6ddbaeca3 [path history] [tgz]
  1. LICENSE-MIT
  2. package.json
  3. README.md
node_modules/has/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