Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
312 bytes
|
Line | |
---|
1 | function _arrayLikeToArray(arr, len) {
|
---|
2 | if (len == null || len > arr.length) len = arr.length;
|
---|
3 |
|
---|
4 | for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
---|
5 | arr2[i] = arr[i];
|
---|
6 | }
|
---|
7 |
|
---|
8 | return arr2;
|
---|
9 | }
|
---|
10 |
|
---|
11 | module.exports = _arrayLikeToArray;
|
---|
12 | module.exports["default"] = module.exports, module.exports.__esModule = true; |
---|
Note:
See
TracBrowser
for help on using the repository browser.