objectWithoutPropertiesLoose.js 453 B

1234567891011
  1. var _indexOfInstanceProperty = require("core-js-pure/features/instance/index-of.js");
  2. function _objectWithoutPropertiesLoose(r, e) {
  3. if (null == r) return {};
  4. var t = {};
  5. for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
  6. if (_indexOfInstanceProperty(e).call(e, n) >= 0) continue;
  7. t[n] = r[n];
  8. }
  9. return t;
  10. }
  11. module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;