summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/generators/next-on-finished.js
blob: 66c25a13f713fcc3d1af69fef12d0d7420598c7b (plain)
1
2
3
4
5
6
function*g(){ };
o = g();
o.next();
result = o.next();
assertEq(result.done, true);
assertEq(o.value, undefined);