summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arguments/args8.js
blob: 57938d9e23189ddf58e3b31a65194ef08940f327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
actual = '';
expected = '[object Arguments],[object Arguments],[object Arguments],[object Arguments],[object Arguments],';

function h() {
  return arguments;
}

for (var i = 0; i < 5; ++i) {
  var p = h(i, i*2);
  appendToActual(p);
}


assertEq(actual, expected)