UNPKG

ramda

Version:

A practical functional library for JavaScript programmers.

8 lines 166 B
export default function _arrayFromIterator(iter) { var list = []; var next; while (!(next = iter.next()).done) { list.push(next.value); } return list; }