summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arguments/args-range-const.js
blob: d4a9193b9e6df07540d64dc1ddff65b08c3b20b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
actual = '';
expected = 'undefined,undefined,undefined,undefined,undefined,';

function h() {
  for (var i = 0; i < 5; ++i) {
    var a = arguments;
    appendToActual(a[100]);
  }
}

h();


assertEq(actual, expected)