objectWithoutProperties.js 578 B

1234567891011121314
  1. import _Object$getOwnPropertySymbols from "core-js/library/fn/object/get-own-property-symbols.js";
  2. import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose.js";
  3. function _objectWithoutProperties(e, t) {
  4. if (null == e) return {};
  5. var o,
  6. r,
  7. i = objectWithoutPropertiesLoose(e, t);
  8. if (_Object$getOwnPropertySymbols) {
  9. var n = _Object$getOwnPropertySymbols(e);
  10. for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
  11. }
  12. return i;
  13. }
  14. export { _objectWithoutProperties as default };