source:
trip-planner-front/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 212 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | export default function _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 | } |
Note:
See TracBrowser
for help on using the repository browser.