objectWithoutProperties.js 547 B

12345678910111213
  1. var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose.js");
  2. function _objectWithoutProperties(e, t) {
  3. if (null == e) return {};
  4. var o,
  5. r,
  6. i = objectWithoutPropertiesLoose(e, t);
  7. if (Object.getOwnPropertySymbols) {
  8. var s = Object.getOwnPropertySymbols(e);
  9. for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
  10. }
  11. return i;
  12. }
  13. module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;