summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/loops/hoist-08.js
blob: a695dd1a762bbd89183891a57a6d2b5ab11ad3c3 (plain)
1
2
3
4
5
6
7

function foo(x,n) {
  for (var i = -5; i < n; i++) {
    x[i] = 10;
  }
}
foo([1,2,3,4,5],5);