12345678910111213141516171819 |
- 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 };
|