GT2/GT2-iOS/node_modules/has
Ren Ren Juan 30eef7d036 correct tree err 2018-02-12 17:26:06 +00:00
..
src correct tree err 2018-02-12 17:26:06 +00:00
test correct tree err 2018-02-12 17:26:06 +00:00
.jshintrc correct tree err 2018-02-12 17:26:06 +00:00
.npmignore correct tree err 2018-02-12 17:26:06 +00:00
LICENSE-MIT correct tree err 2018-02-12 17:26:06 +00:00
README.mkd correct tree err 2018-02-12 17:26:06 +00:00
package.json correct tree err 2018-02-12 17:26:06 +00:00

README.mkd

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

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