main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
790 bytes
|
Line | |
---|
1 | function _iterableToArrayLimit(r, l) {
|
---|
2 | var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
---|
3 | if (null != t) {
|
---|
4 | var e,
|
---|
5 | n,
|
---|
6 | i,
|
---|
7 | u,
|
---|
8 | a = [],
|
---|
9 | f = !0,
|
---|
10 | o = !1;
|
---|
11 | try {
|
---|
12 | if (i = (t = t.call(r)).next, 0 === l) {
|
---|
13 | if (Object(t) !== t) return;
|
---|
14 | f = !1;
|
---|
15 | } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
---|
16 | } catch (r) {
|
---|
17 | o = !0, n = r;
|
---|
18 | } finally {
|
---|
19 | try {
|
---|
20 | if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
---|
21 | } finally {
|
---|
22 | if (o) throw n;
|
---|
23 | }
|
---|
24 | }
|
---|
25 | return a;
|
---|
26 | }
|
---|
27 | }
|
---|
28 | module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.