mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
17 lines
463 B
JavaScript
17 lines
463 B
JavaScript
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;
|
|
}
|
|
|
|
module.exports = _iterableToArrayLimitLoose;
|
|
module.exports["default"] = module.exports, module.exports.__esModule = true; |