challenge-algorithms-v2.0-D.../node_modules/has
2022-10-27 16:56:30 -03:00
..
src Desaio 01 concluido 2022-10-27 16:56:30 -03:00
test Desaio 01 concluido 2022-10-27 16:56:30 -03:00
LICENSE-MIT Desaio 01 concluido 2022-10-27 16:56:30 -03:00
package.json Desaio 01 concluido 2022-10-27 16:56:30 -03:00
README.md Desaio 01 concluido 2022-10-27 16:56:30 -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