(array)
| 13 | } |
| 14 | |
| 15 | function sum(array) { |
| 16 | var total = 0; |
| 17 | for (var i = 0; i < array.length; i++) |
| 18 | total += array[i]; |
| 19 | return total; |
| 20 | } |
| 21 | |
| 22 | function factorial(n) { |
| 23 | if (n == 0) { |
nothing calls this directly
no outgoing calls
no test coverage detected