1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js

28 lines
790 B
JavaScript
Raw Permalink Normal View History

2024-01-16 21:26:16 +08:00
function _iterableToArrayLimit(r, l) {
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
if (null != t) {
var e,
n,
i,
u,
a = [],
f = !0,
o = !1;
2023-12-18 13:12:25 +08:00
try {
2024-01-16 21:26:16 +08:00
if (i = (t = t.call(r)).next, 0 === l) {
if (Object(t) !== t) return;
f = !1;
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
} catch (r) {
o = !0, n = r;
2023-12-18 13:12:25 +08:00
} finally {
2024-01-16 21:26:16 +08:00
try {
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
} finally {
if (o) throw n;
}
2023-12-18 13:12:25 +08:00
}
2024-01-16 21:26:16 +08:00
return a;
2023-12-18 13:12:25 +08:00
}
}
2024-01-16 21:26:16 +08:00
module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;