UNPKG

@pnpm/ramda

Version:

A practical functional library for JavaScript programmers.

12 lines (9 loc) 191 B
function _arrayFromIterator(iter) { var list = []; var next; while (!(next = iter.next()).done) { list.push(next.value); } return list; } module.exports = _arrayFromIterator;