Current Path : /opt/alt/alt-nodejs8/root/lib/node_modules/npm/node_modules.bundled/has/ |
Current File : //opt/alt/alt-nodejs8/root/lib/node_modules/npm/node_modules.bundled/has/README.md |
# has > Object.prototype.hasOwnProperty.call shortcut ## Installation ```sh npm install --save has ``` ## Usage ```js var has = require('has'); has({}, 'hasOwnProperty'); // false has(Object.prototype, 'hasOwnProperty'); // true ```