Skip to Content

sum()

Returns the sum of all values in an array of numbers.

Kind: global function
Returns: number - The total sum.

ParamTypeDescription
objectsArray.<number>The array of numbers to sum.

Example

ARM.sum([10, 20, 30]) // 60
Last updated on