Source code

Revision control

Copy as Markdown

Other Tools

function foo(a, b, c) {
var res = 0;
for (var b = 0; b < c; b++)
res += a[b];
return res;
}
assertEq(foo([1,2,3], 0, 10), NaN);