securityos/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js

9 lines
319 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
export default function _iterableToArrayLimitLoose(arr, i) {
var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]);
if (null != _i) {
var _s,
_arr = [];
for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) _arr.push(_s.value);
return _arr;
}
}