Files
old-cto-as-you-go/CTOAsYouGo/node_modules/has/README.md
2023-07-01 10:42:40 +02:00

19 lines
239 B
Markdown

# has
> Object.prototype.hasOwnProperty.call shortcut
## Installation
```sh
npm install --save has
```
## Usage
```js
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true
```