huanggang 03a863fb53 add node_modules 8 years ago
..
src 03a863fb53 add node_modules 8 years ago
test 03a863fb53 add node_modules 8 years ago
.jshintrc 03a863fb53 add node_modules 8 years ago
.npmignore 03a863fb53 add node_modules 8 years ago
LICENSE-MIT 03a863fb53 add node_modules 8 years ago
README.mkd 03a863fb53 add node_modules 8 years ago
package.json 03a863fb53 add node_modules 8 years ago

README.mkd

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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