UNPKG

@babel/runtime

Version:

babel's modular runtime helpers

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