source: trip-planner-front/node_modules/@babel/runtime/helpers/objectWithoutProperties.js@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 746 bytes
RevLine 
[6a3a178]1var objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose.js");
2
3function _objectWithoutProperties(source, excluded) {
4 if (source == null) return {};
5 var target = objectWithoutPropertiesLoose(source, excluded);
6 var key, i;
7
8 if (Object.getOwnPropertySymbols) {
9 var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
10
11 for (i = 0; i < sourceSymbolKeys.length; i++) {
12 key = sourceSymbolKeys[i];
13 if (excluded.indexOf(key) >= 0) continue;
14 if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
15 target[key] = source[key];
16 }
17 }
18
19 return target;
20}
21
22module.exports = _objectWithoutProperties;
23module.exports["default"] = module.exports, module.exports.__esModule = true;
Note: See TracBrowser for help on using the repository browser.