arrayLikeToArray.js 212 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 export default function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }