项目原始demo,不改动
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

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. ```