UNPKG

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