Source code

Revision control

Copy as Markdown

Other Tools

// Binary: cache/js-dbg-64-c9212eb6175b-linux
// Flags:
//
function f(a) {
function* g() {
yield function () { return a; };
}
return g();
}
var x;
assertEq(f(7).next().value(), 7);