You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 239B

123456789101112131415161718
  1. # has
  2. > Object.prototype.hasOwnProperty.call shortcut
  3. ## Installation
  4. ```sh
  5. npm install --save has
  6. ```
  7. ## Usage
  8. ```js
  9. var has = require('has');
  10. has({}, 'hasOwnProperty'); // false
  11. has(Object.prototype, 'hasOwnProperty'); // true
  12. ```