toConsumableArray.js 404 B

1234567
  1. import arrayWithoutHoles from "./arrayWithoutHoles.js";
  2. import iterableToArray from "./iterableToArray.js";
  3. import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
  4. import nonIterableSpread from "./nonIterableSpread.js";
  5. export default function _toConsumableArray(arr) {
  6. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  7. }