source: trip-planner-front/node_modules/has/README.md

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 239 bytes
Line 
1# has
2
3> Object.prototype.hasOwnProperty.call shortcut
4
5## Installation
6
7```sh
8npm install --save has
9```
10
11## Usage
12
13```js
14var has = require('has');
15
16has({}, 'hasOwnProperty'); // false
17has(Object.prototype, 'hasOwnProperty'); // true
18```
Note: See TracBrowser for help on using the repository browser.