source: trip-planner-front/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js@ 6a80231

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

initial commit

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