objectWithoutPropertiesLoose.js 337 B

12345678910
  1. function _objectWithoutPropertiesLoose(r, e) {
  2. if (null == r) return {};
  3. var t = {};
  4. for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
  5. if (e.includes(n)) continue;
  6. t[n] = r[n];
  7. }
  8. return t;
  9. }
  10. module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;