sum()

Gets the sum of an array of numbers.

This function is valid in v2.0.0 to v2.12.0. This function has been downloaded 14 times.

Parameter

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

Returns

{number}
Sum of the array of numbers.