6 lines
No EOL
286 B
JavaScript
6 lines
No EOL
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();
|
|
} |