You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wenyi f0fcd2dee1
添加图片
5 months ago
..
src 添加图片 5 months ago
test 添加图片 5 months ago
LICENSE-MIT 添加图片 5 months ago
README.md 添加图片 5 months ago
package.json 添加图片 5 months 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