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

function f() {
  arguments;
}

for (var i = 0; i < 1000; ++i) {
  f(1, 2);
}

appendToActual('a')


assertEq(actual, expected)