Andrea Fazzi 994369ab61 First commit 7 年之前
..
src 994369ab61 First commit 7 年之前
test 994369ab61 First commit 7 年之前
.jshintrc 994369ab61 First commit 7 年之前
.npmignore 994369ab61 First commit 7 年之前
LICENSE-MIT 994369ab61 First commit 7 年之前
README.mkd 994369ab61 First commit 7 年之前
package.json 994369ab61 First commit 7 年之前

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