main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
481 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | var arrayWithHoles = require("./arrayWithHoles.js");
|
---|
| 2 | var iterableToArray = require("./iterableToArray.js");
|
---|
| 3 | var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
|
---|
| 4 | var nonIterableRest = require("./nonIterableRest.js");
|
---|
| 5 | function _toArray(arr) {
|
---|
| 6 | return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
---|
| 7 | }
|
---|
| 8 | module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.