aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/toArray.js
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;