hexo/node_modules/has
jkjoy 5d2d87c740 20230925 2023-09-25 15:58:56 +08:00
..
src 20230925 2023-09-25 15:58:56 +08:00
test 20230925 2023-09-25 15:58:56 +08:00
LICENSE-MIT 20230925 2023-09-25 15:58:56 +08:00
README.md 20230925 2023-09-25 15:58:56 +08:00
package.json 20230925 2023-09-25 15:58:56 +08:00

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