UNPKG

@babel/runtime

Version:

babel's modular runtime helpers

3 lines 179 B
export default function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); }