odin-javascript-exercises/node_modules/has
2017-12-15 12:56:14 -06:00
..
src remove timer and simon 2017-12-15 12:56:14 -06:00
test remove timer and simon 2017-12-15 12:56:14 -06:00
.jshintrc remove timer and simon 2017-12-15 12:56:14 -06:00
.npmignore remove timer and simon 2017-12-15 12:56:14 -06:00
LICENSE-MIT remove timer and simon 2017-12-15 12:56:14 -06:00
package.json remove timer and simon 2017-12-15 12:56:14 -06:00
README.mkd remove timer and simon 2017-12-15 12:56:14 -06: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