|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
551 bytes
|
| Line | |
|---|
| 1 | import _typeof from "./typeof.js";
|
|---|
| 2 | function _regeneratorValues(e) {
|
|---|
| 3 | if (null != e) {
|
|---|
| 4 | var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
|
|---|
| 5 | r = 0;
|
|---|
| 6 | if (t) return t.call(e);
|
|---|
| 7 | if ("function" == typeof e.next) return e;
|
|---|
| 8 | if (!isNaN(e.length)) return {
|
|---|
| 9 | next: function next() {
|
|---|
| 10 | return e && r >= e.length && (e = void 0), {
|
|---|
| 11 | value: e && e[r++],
|
|---|
| 12 | done: !e
|
|---|
| 13 | };
|
|---|
| 14 | }
|
|---|
| 15 | };
|
|---|
| 16 | }
|
|---|
| 17 | throw new TypeError(_typeof(e) + " is not iterable");
|
|---|
| 18 | }
|
|---|
| 19 | export { _regeneratorValues as default }; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.