UNPKG

492 BJavaScriptView Raw
1import arrayWithoutHoles from "@babel/runtime/helpers/esm/arrayWithoutHoles";
2import iterableToArray from "@babel/runtime/helpers/esm/iterableToArray";
3import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray";
4import nonIterableSpread from "@babel/runtime/helpers/esm/nonIterableSpread";
5export default function _toConsumableArray(arr) {
6 return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
7}
\No newline at end of file