node/deps/npm/node_modules/has
isaacs 1721034a40 deps: upgrade npm to 6.10.0
PR-URL: https://github.com/nodejs/node/pull/28525
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
2019-07-18 15:12:49 -07:00
..
src deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
test deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
LICENSE-MIT deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
package.json deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00
README.md deps: upgrade npm to 6.10.0 2019-07-18 15:12:49 -07:00

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true