Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
379 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | import arrayWithHoles from "./arrayWithHoles.js";
|
---|
| 2 | import iterableToArray from "./iterableToArray.js";
|
---|
| 3 | import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
|
---|
| 4 | import nonIterableRest from "./nonIterableRest.js";
|
---|
| 5 | export default function _toArray(arr) {
|
---|
| 6 | return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
---|
| 7 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.