Newer
Older
alert / js / node_modules / has / README.md
@Réz István Réz István on 18 Nov 2021 239 bytes first commit

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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