sum()

Gets the sum of an array of numbers.

This function is valid in v2.0.0 to v2.24.2. This function has been downloaded 40 times.

Parameter

{Array.} arr
Array of numbers to be summed up.

Returns

{number}
Sum of the array of numbers.