tree: b7d8592c01c0f26a7ab23eb383aac7698ed732eb [path history] [tgz]
  1. src/
  2. test/
  3. LICENSE-MIT
  4. package.json
  5. README.md
third_party/devtools/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