comparison: js/src/jit-test/tests/arguments/genexpr-4.js
js/src/jit-test/tests/arguments/genexpr-4.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
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(); |