blob: 2f3bb3ac60bd752fe1e8fee83ffafc09d74e0473 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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);
|