[go: nahoru, domu]

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