Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
1 actual = '';
2 expected = '5,4,3,2,1,';
3
4 function f() {
5 while (arguments.length > 0) {
6 appendToActual(arguments[arguments.length-1]);
7 arguments.length--;
8 }
9 }
10
11 f(1, 2, 3, 4, 5);
12
13
14 assertEq(actual, expected)