Returns the sum value of the given array
Optional
the array to calculate
the sum value of the given array
sum([1, 2, 3]); // 6 Copy
sum([1, 2, 3]); // 6
Returns the sum value of the given array