Skip to content
Object.prototype.hasOwnProperty
Branch: master
Clone or download
Latest commit 4edf96f Jun 4, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src [Tests] use eslint, remove jshint Jun 2, 2018
test [Tests] use eslint, remove jshint Jun 2, 2018
.eslintrc
.gitignore Only apps should have lockfiles Jun 2, 2018
.npmignore
.npmrc
LICENSE-MIT First and only commit Oct 8, 2013
README.md
package.json

README.md

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true
You can’t perform that action at this time.