UNPKG

@pnpm/ramda

Version:

A practical functional library for JavaScript programmers.

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