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

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

f();