This following code crashes with a stack overflow on nodejs...
function testLargeIterator() {
var c = 1400;
var s = Stream.ofIterator(0...c);
var i = 0;
s.forEach(function (v) {
i++;
return Resume;
}).handle(function (x) {
assertEquals(Depleted, x);
assertEquals(c, i);
});
}
This following code crashes with a stack overflow on nodejs...