Returns the sum of all values in an array.
Prints 6 for the array [1, 2, 3]:
console.log(arraySum([1, 2, 3]));
An array of numbers.
The sum of all values in the array.
Generated using TypeDoc
Returns the sum of all values in an array.
Prints 6 for the array [1, 2, 3]: