You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
354 B
14 lines
354 B
export default function _iterableToArrayLimitLoose(arr, i) { |
|
var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); |
|
|
|
if (_i == null) return; |
|
var _arr = []; |
|
|
|
for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) { |
|
_arr.push(_step.value); |
|
|
|
if (i && _arr.length === i) break; |
|
} |
|
|
|
return _arr; |
|
} |