toConsumableArray.js 521 B

1234567891011121314
  1. var arrayWithoutHoles = require("./arrayWithoutHoles.js");
  2. var iterableToArray = require("./iterableToArray.js");
  3. var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
  4. var nonIterableSpread = require("./nonIterableSpread.js");
  5. function _toConsumableArray(arr) {
  6. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  7. }
  8. module.exports = _toConsumableArray;
  9. module.exports["default"] = module.exports, module.exports.__esModule = true;