Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
463 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 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 | }
|
---|
| 15 |
|
---|
| 16 | module.exports = _iterableToArrayLimitLoose;
|
---|
| 17 | module.exports["default"] = module.exports, module.exports.__esModule = true; |
---|
Note:
See
TracBrowser
for help on using the repository browser.