summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug719750.js
blob: a90535371f85f08fbea9c19cefe960544b59be3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function f( )  {
  var [ [x], e ]  = ["*", "/", "%"];
    function h() {
      for (var i = 0; i < 5; ++i) {
        x = i * 2;
      }
    }
    h();
  assertEq(x, 8);
} 
f();