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

9 lines
319 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08: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;
}
}