toConsumableArray.js 492 Bytes
Newer Older
Sangjune Bae's avatar
Sangjune Bae committed
1
2
3
4
5
6
7
import arrayWithoutHoles from "@babel/runtime/helpers/esm/arrayWithoutHoles";
import iterableToArray from "@babel/runtime/helpers/esm/iterableToArray";
import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray";
import nonIterableSpread from "@babel/runtime/helpers/esm/nonIterableSpread";
export default function _toConsumableArray(arr) {
  return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
}