You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
750 B
19 lines
750 B
3 weeks ago
|
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
|
||
|
function _createForOfIteratorHelperLoose(r, e) {
|
||
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
||
|
if (t) return (t = t.call(r)).next.bind(t);
|
||
|
if (Array.isArray(r) || (t = unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
||
|
t && (r = t);
|
||
|
var o = 0;
|
||
|
return function () {
|
||
|
return o >= r.length ? {
|
||
|
done: !0
|
||
|
} : {
|
||
|
done: !1,
|
||
|
value: r[o++]
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||
|
}
|
||
|
export { _createForOfIteratorHelperLoose as default };
|