summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testGrowDenseArray.js
blob: 810c12ff63db13a7f365f7d385920a6f4c2d7582 (plain)
1
2
3
4
5
6
7
function testGrowDenseArray() {
    var a = new Array();
    for (var i = 0; i < 10; ++i)
        a[i] |= 5;
    return a.join(",");
}
assertEq(testGrowDenseArray(), "5,5,5,5,5,5,5,5,5,5");