UNPKG

ramda

Version:

A practical functional library for JavaScript programmers.

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