summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug539553-3.js
blob: 44b7d41f53b6ded21c83aec1defff1ff6f019595 (plain)
1
2
3
4
5
6
7
8
9
10
11
function g(x) {
    assertEq(arguments.length, 1);
    assertEq(x.length, 4);
}

function f() {
    for (var i = 0; i < 9; i++)
        g(arguments);
}

f(1, 2, 3, 4);