js/src/jit-test/tests/basic/testGlobalOptimize-5.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:d579185c1754
1 var test;
2 function f() {
3 let (a = 5) {
4 with ({a: 2}) {
5 test = (function () { return a;} )();
6 }
7 }
8 }
9 f();
10 assertEq(test, 2);

mercurial