toConsumableArray.js 492 B

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