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

changeset 0
6474c204b198
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