Source code

Revision control

Copy as Markdown

Other Tools

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)