huituanxueqian 7740728225 commit 1 year ago
..
src 7740728225 commit 1 year ago
test 7740728225 commit 1 year ago
LICENSE-MIT 7740728225 commit 1 year ago
README.md 7740728225 commit 1 year ago
package.json 7740728225 commit 1 year ago

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