Welcome to mirror list, hosted at ThFree Co, Russian Federation.

toArray.js « helpers « runtime « @babel « node_modules « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c28fd9e46ef93b7338234d2ba20663d334256113 (plain)
1
2
3
4
5
6
7
8
9
10
11
var arrayWithHoles = require("./arrayWithHoles");

var iterableToArray = require("./iterableToArray");

var nonIterableRest = require("./nonIterableRest");

function _toArray(arr) {
  return arrayWithHoles(arr) || iterableToArray(arr) || nonIterableRest();
}

module.exports = _toArray;