toArray.js 486 B

1234567891011121314
  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;
  9. module.exports["default"] = module.exports, module.exports.__esModule = true;