summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1280252.js
blob: 486d2d2a51215ac127e6f8c4fec5370a9731e696 (plain)
1
2
3
4
5
6
7
8
9
function f() {
    x = arguments;
    delete x[1];
}
f(0, 1);
gc();
assertEq(x.length, 2);
assertEq(0 in x, true);
assertEq(1 in x, false);