@babel/runtime
Version:
babel's modular runtime helpers
7 lines • 476 B
JavaScript
import arrayWithoutHoles from "@babel/runtime/helpers/arrayWithoutHoles";
import iterableToArray from "@babel/runtime/helpers/iterableToArray";
import unsupportedIterableToArray from "@babel/runtime/helpers/unsupportedIterableToArray";
import nonIterableSpread from "@babel/runtime/helpers/nonIterableSpread";
export default function _toConsumableArray(arr) {
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
}