challenge-algorithms-v2.0-s.../node_modules/has
2022-10-27 15:51:35 -03:00
..
src feat: Resolve o exercício 01-greeting 2022-10-27 15:51:35 -03:00
test feat: Resolve o exercício 01-greeting 2022-10-27 15:51:35 -03:00
LICENSE-MIT feat: Resolve o exercício 01-greeting 2022-10-27 15:51:35 -03:00
package.json feat: Resolve o exercício 01-greeting 2022-10-27 15:51:35 -03:00
README.md feat: Resolve o exercício 01-greeting 2022-10-27 15:51:35 -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