mirror of
https://gh-proxy.com/github.com/stCarolas/setup-maven.git
synced 2025-04-17 00:31:39 +08: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