source: trip-planner-front/node_modules/@babel/runtime/helpers/arrayLikeToArray.js@ bdd6491

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

initial commit

  • Property mode set to 100644
File size: 312 bytes
Line 
1function _arrayLikeToArray(arr, len) {
2 if (len == null || len > arr.length) len = arr.length;
3
4 for (var i = 0, arr2 = new Array(len); i < len; i++) {
5 arr2[i] = arr[i];
6 }
7
8 return arr2;
9}
10
11module.exports = _arrayLikeToArray;
12module.exports["default"] = module.exports, module.exports.__esModule = true;
Note: See TracBrowser for help on using the repository browser.