Files
old-cto-as-you-go/CTOAsYouGo/node_modules/has/README.md
2023-07-01 10:42:40 +02:00

239 B

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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