mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-13 21:42:55 +00: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