source: node_modules/ramda/src/internal/_arrayFromIterator.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 191 bytes
Line 
1function _arrayFromIterator(iter) {
2 var list = [];
3 var next;
4
5 while (!(next = iter.next()).done) {
6 list.push(next.value);
7 }
8
9 return list;
10}
11
12module.exports = _arrayFromIterator;
Note: See TracBrowser for help on using the repository browser.