scripted-07.js (209B)
1 function multiple(a) { 2 if (a > 10) 3 return 1; 4 return 0; 5 } 6 7 function foo(x) { 8 var a = 0; 9 for (var i = 0; i < 100; i++) 10 a += multiple(i); 11 return a; 12 } 13 14 var q = foo([1,2,3,4,5]); 15 assertEq(q, 89);
tor-browserThe Tor Browser | |
| git clone https://git.dasho.dev/tor-browser.git | |
| Log | Files | Refs | README | LICENSE |