|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
497 bytes
|
| Line | |
|---|
| 1 | import arrayLikeToArray from "./arrayLikeToArray.js";
|
|---|
| 2 | function _unsupportedIterableToArray(r, a) {
|
|---|
| 3 | if (r) {
|
|---|
| 4 | if ("string" == typeof r) return arrayLikeToArray(r, a);
|
|---|
| 5 | var t = {}.toString.call(r).slice(8, -1);
|
|---|
| 6 | return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;
|
|---|
| 7 | }
|
|---|
| 8 | }
|
|---|
| 9 | export { _unsupportedIterableToArray as default }; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.