objectWithoutProperties.js 657 B

1234567891011121314
  1. var _Object$getOwnPropertySymbols = require("core-js/library/fn/object/get-own-property-symbols.js");
  2. var objectWithoutPropertiesLoose = require("./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. module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;