FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

JavaScript/archive/code/node_modules/has/README.md at main · iu5git/JavaScript · GitHub

Latest commit

 

History

History
executable file
·
18 lines (12 loc) · 239 Bytes

File metadata and controls

executable file
·
18 lines (12 loc) · 239 Bytes

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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

Back | FazBrowse Home | New Git URL