Write a recursive function that returns the sum of all elements in an array. Do not use loops.
sumArray([1,2,3]) => 6
sumArray([]) => 0
Waiting for you...
CodeBot will comment on your code as you write...
Click "Run Code" or press Ctrl+Enter to test your solution