summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug465483.js
blob: a2b3da6355ba2985d8959f199df0c1c4697b1c45 (plain)
1
2
3
4
5
6
7
function testBug465483() {
    var a = new Array(4);
    var c = 0;
    for each (i in [4, 'a', 'b', (void 0)]) a[c++] = '' + (i + i);
    return a.join(',');
}
assertEq(testBug465483(), '8,aa,bb,NaN');