Last change
on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
354 bytes
|
Line | |
---|
1 | export default function _iterableToArrayLimitLoose(arr, i) {
|
---|
2 | var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
|
---|
3 |
|
---|
4 | if (_i == null) return;
|
---|
5 | var _arr = [];
|
---|
6 |
|
---|
7 | for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) {
|
---|
8 | _arr.push(_step.value);
|
---|
9 |
|
---|
10 | if (i && _arr.length === i) break;
|
---|
11 | }
|
---|
12 |
|
---|
13 | return _arr;
|
---|
14 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.