RockPaperScissors/node_modules/has
2021-12-02 17:22:41 +01:00
..
src Removed juusto rps (because I have one) 2021-12-02 17:22:41 +01:00
test Removed juusto rps (because I have one) 2021-12-02 17:22:41 +01:00
LICENSE-MIT Removed juusto rps (because I have one) 2021-12-02 17:22:41 +01:00
package.json Removed juusto rps (because I have one) 2021-12-02 17:22:41 +01:00
README.md Removed juusto rps (because I have one) 2021-12-02 17:22:41 +01: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