1 2 3 4 5 6 7 8 9 10 11 12 13
"use strict"; function loop(a) { a = arguments.length; var result = 0; for (var i = 0; i < 5000; i++) { result += a; } return result; } assertEq(loop(11), 5000);