UNPKG

@babel/runtime-corejs3

Version:

babel's modular runtime helpers with core-js@3 polyfilling

8 lines • 423 B
import arrayWithoutHoles from "./arrayWithoutHoles.js"; import iterableToArray from "./iterableToArray.js"; import unsupportedIterableToArray from "./unsupportedIterableToArray.js"; import nonIterableSpread from "./nonIterableSpread.js"; function _toConsumableArray(a) { return arrayWithoutHoles(a) || iterableToArray(a) || unsupportedIterableToArray(a) || nonIterableSpread(); } export { _toConsumableArray as default };