You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
396 B
13 lines
396 B
var arrayWithHoles = require("./arrayWithHoles");
|
|
|
|
var iterableToArray = require("./iterableToArray");
|
|
|
|
var unsupportedIterableToArray = require("./unsupportedIterableToArray");
|
|
|
|
var nonIterableRest = require("./nonIterableRest");
|
|
|
|
function _toArray(arr) {
|
|
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
|
}
|
|
|
|
module.exports = _toArray; |