wenjie af3654373e 改版前提交 1 year ago
..
src af3654373e 改版前提交 1 year ago
test af3654373e 改版前提交 1 year ago
LICENSE-MIT af3654373e 改版前提交 1 year ago
README.md af3654373e 改版前提交 1 year ago
package.json af3654373e 改版前提交 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