hasOwn.js 191 B

123456789101112
  1. /**
  2. * Safer Object.hasOwnProperty
  3. */
  4. function hasOwn(obj, prop){
  5. return Object.prototype.hasOwnProperty.call(obj, prop);
  6. }
  7. module.exports = hasOwn;