toArray.js 481 B

12345678
  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;