sum()
Returns the sum of all values in an array of numbers.
Kind: global function
Returns: number - The total sum.
| Param | Type | Description |
|---|---|---|
| objects | Array.<number> | The array of numbers to sum. |
Example
ARM.sum([10, 20, 30]) // 60Last updated on
Returns the sum of all values in an array of numbers.
Kind: global function
Returns: number - The total sum.
| Param | Type | Description |
|---|---|---|
| objects | Array.<number> | The array of numbers to sum. |
Example
ARM.sum([10, 20, 30]) // 60