This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/@babel/runtime/helpers/iterableToArrayLimitLoose.js
2019-08-11 20:48:02 +02:00

13 lines
No EOL
290 B
JavaScript

function _iterableToArrayLimitLoose(arr, i) {
var _arr = [];
for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {
_arr.push(_step.value);
if (i && _arr.length === i) break;
}
return _arr;
}
module.exports = _iterableToArrayLimitLoose;