js/src/jit-test/tests/arguments/genexpr-4.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:2e4d5b0c89a7
1 // 'arguments' is lexically scoped in genexpr in function.
2
3 function f() {
4 assertEq((arguments for (x of [0])).next(),
5 (arguments for (y of [1])).next());
6 }
7 f();

mercurial