blob: cea55bc36a668af49c525496494daf242a080a03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
actual = '';
expected = '0,0,0,';
function f() {
arguments.length--;
for (var i = 0; i < arguments.length; ++i) {
appendToActual(i);
}
}
f(1, 2);
f(1, 2);
f(2, 2);
assertEq(actual, expected)
|