mirror of
https://github.com/1disk/edp445.git
synced 2024-08-14 22:47:02 +00:00
239 B
239 B
has
Object.prototype.hasOwnProperty.call shortcut
Installation
npm install --save has
Usage
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true