sum()

Gets the sum of an array of numbers.

This function is valid in v2.0.0 to v2.13.3. This function has been downloaded 41 times.

Parameter

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

Returns

{number}
Sum of the array of numbers.