Has
has
Object.prototype.hasOwnProperty.call shortcut.
This module is one of those live examle where a tiny module can make a lot of impact in the node community.
All that this module does is helps in making a shorting function name to Object.prototype.hasOwnProperty.call as has, the code in the module is as below:
1 2 3 | |
The impact it has made with 110 dependencies:
1 2 3 | |
Get it: npm install --save has
Sample usage:
1 2 3 | |
