6 lines
286 B
JavaScript
6 lines
286 B
JavaScript
import arrayWithoutHoles from "./arrayWithoutHoles";
|
|
import iterableToArray from "./iterableToArray";
|
|
import nonIterableSpread from "./nonIterableSpread";
|
|
export default function _toConsumableArray(arr) {
|
|
return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();
|
|
} |