Source code
Revision control
Copy as Markdown
Other Tools
function*g(){ };
o = g();
o.next();
result = o.next();
assertEq(result.done, true);
assertEq(o.value, undefined);
function*g(){ };
o = g();
o.next();
result = o.next();
assertEq(result.done, true);
assertEq(o.value, undefined);