陈鹏铭 ac63ce6cb5 首次提交 1 年間 前
..
src ac63ce6cb5 首次提交 1 年間 前
test ac63ce6cb5 首次提交 1 年間 前
LICENSE-MIT ac63ce6cb5 首次提交 1 年間 前
README.md ac63ce6cb5 首次提交 1 年間 前
package.json ac63ce6cb5 首次提交 1 年間 前

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