objectWithoutPropertiesLoose.js 377 B

1234567891011
  1. import _indexOfInstanceProperty from "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. export { _objectWithoutPropertiesLoose as default };