huituanxueqian 7740728225 commit hai 1 ano
..
src 7740728225 commit hai 1 ano
test 7740728225 commit hai 1 ano
LICENSE-MIT 7740728225 commit hai 1 ano
README.md 7740728225 commit hai 1 ano
package.json 7740728225 commit hai 1 ano

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