summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_3/Array/regress-619970.js
blob: 6ec94fc3bb566a55e4c4468f0d05e8248f56c49e (plain)
1
2
3
4
5
6
7
8
function test() {
    delete arguments[1];
    return Array.prototype.join.call(arguments);
}
assertEq(test(1,2,3), "1,,3");
Object.prototype[1] = "ponies!!!1";
assertEq(test(1,2,3), "1,ponies!!!1,3");
reportCompare(true,true);