summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testGlobalOptimize-4.js
blob: 30754214a48f1253d5c96007929530b1507990c4 (plain)
1
2
3
4
5
6
7
8
var test;
{
  with ({a: 2}) {
      test = (function () { return a; })();
  }
  let a = 5;
}
assertEq(test, 2);