mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-28 11:25:16 +00:00
14 lines
486 B
JavaScript
14 lines
486 B
JavaScript
|
var arrayWithHoles = require("./arrayWithHoles.js");
|
||
|
|
||
|
var iterableToArray = require("./iterableToArray.js");
|
||
|
|
||
|
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
|
||
|
|
||
|
var nonIterableRest = require("./nonIterableRest.js");
|
||
|
|
||
|
function _toArray(arr) {
|
||
|
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
||
|
}
|
||
|
|
||
|
module.exports = _toArray;
|
||
|
module.exports["default"] = module.exports, module.exports.__esModule = true;
|