cmy a6e36702ec 2023-3-1 2 年之前
..
src a6e36702ec 2023-3-1 2 年之前
test a6e36702ec 2023-3-1 2 年之前
LICENSE-MIT a6e36702ec 2023-3-1 2 年之前
README.md a6e36702ec 2023-3-1 2 年之前
package.json a6e36702ec 2023-3-1 2 年之前

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