2 var args = (function(a) {
6 var result = arguments;
12 throw "Error: bad args: " + args;
14 var array = [args, [1, 2, 3]];
17 for (var i = 0; i < 1000000; ++i)
18 result += array[i % array.length].length;
20 if (result != 4500000)
21 throw "Error: bad result: " + result;