hasProperty.js 127 B

1234567
  1. "use strict";
  2. function has(object, key) {
  3. return Object.prototype.hasOwnProperty.call(object, key);
  4. }
  5. module.exports = has;