Problem

Return sum of arr.

Examples

  • sumAll([1, 2, 3]) -> 6
  • sumAll([]) -> 0
Compile and test (Ctrl+Enter)