UNPKG

@babel/runtime

Version:

babel's modular runtime helpers

5 lines (4 loc) 200 B
function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } module.exports = _iterableToArray;