Write a function to sum the numbers in given list? function solve( a ){ //write your code here } Login to Submit
Input: [1, 1, 1] Output: 3 Input: [2, 3] Output: 5 Input: [4] Output: 4