blob: a6b5eee3264e19a34a6f959d19e8293e9ad821c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
function f(x,y,z) {
z = 9;
delete arguments[2];
assertEq(arguments[2], undefined);
o = arguments;
assertEq(o[2], undefined);
assertEq(o[2] == undefined, true);
}
for (var i = 0; i < 10; ++i) {
print(i);
f(1,2,3)
}
|