source: trip-planner-front/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js@ fa375fe

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

initial commit

  • Property mode set to 100644
File size: 463 bytes
Line 
1function _iterableToArrayLimitLoose(arr, i) {
2 var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
3
4 if (_i == null) return;
5 var _arr = [];
6
7 for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) {
8 _arr.push(_step.value);
9
10 if (i && _arr.length === i) break;
11 }
12
13 return _arr;
14}
15
16module.exports = _iterableToArrayLimitLoose;
17module.exports["default"] = module.exports, module.exports.__esModule = true;
Note: See TracBrowser for help on using the repository browser.