1
0
Fork 0
forked from svrjs/svrjs
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
svrjs/node_modules/has
2023-07-29 20:33:28 +02:00
..
src Add node_modules 2023-07-29 20:33:28 +02:00
test Add node_modules 2023-07-29 20:33:28 +02:00
LICENSE-MIT Add node_modules 2023-07-29 20:33:28 +02:00
package.json Add node_modules 2023-07-29 20:33:28 +02:00
README.md Add node_modules 2023-07-29 20:33:28 +02: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