toConsumableArray.js 431 B

12345678910111213
  1. var arrayWithoutHoles = require("./arrayWithoutHoles");
  2. var iterableToArray = require("./iterableToArray");
  3. var unsupportedIterableToArray = require("./unsupportedIterableToArray");
  4. var nonIterableSpread = require("./nonIterableSpread");
  5. function _toConsumableArray(arr) {
  6. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  7. }
  8. module.exports = _toConsumableArray;