source: trip-planner-front/node_modules/@babel/runtime/helpers/arrayLikeToArray.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: 312 bytes
RevLine 
[6a3a178]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.