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:
486 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var arrayWithHoles = require("./arrayWithHoles.js");
|
---|
| 2 |
|
---|
| 3 | var iterableToArray = require("./iterableToArray.js");
|
---|
| 4 |
|
---|
| 5 | var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
|
---|
| 6 |
|
---|
| 7 | var nonIterableRest = require("./nonIterableRest.js");
|
---|
| 8 |
|
---|
| 9 | function _toArray(arr) {
|
---|
| 10 | return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | module.exports = _toArray;
|
---|
| 14 | module.exports["default"] = module.exports, module.exports.__esModule = true; |
---|
Note:
See
TracBrowser
for help on using the repository browser.