hugoWebsite/node_modules/has
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉 2022-10-28 17:20:35 -05:00
..
src Initial commit... 🎉🎉🎉 2022-10-28 17:20:35 -05:00
test Initial commit... 🎉🎉🎉 2022-10-28 17:20:35 -05:00
LICENSE-MIT Initial commit... 🎉🎉🎉 2022-10-28 17:20:35 -05:00
README.md Initial commit... 🎉🎉🎉 2022-10-28 17:20:35 -05:00
package.json Initial commit... 🎉🎉🎉 2022-10-28 17:20:35 -05:00

README.md

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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