Files
cjihrig ba73a67d45 tools: update to ESLint 4.10.0
PR-URL: https://github.com/nodejs/node/pull/16738
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
2017-12-13 16:59:02 +00:00
..
2017-04-25 00:06:17 +03:00
2017-04-25 00:06:17 +03:00
2017-12-13 16:59:02 +00:00
2017-04-25 00:06:17 +03: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