sum MethodStatic

return the sum of numbers in an array. Note that "PreciseSum" may be more accurate.

sum(data: number[] | Float64Array): number

Parameter Type Description
data number[] | Float64Array  

Returns - number

Defined in

Last Updated: 12 June, 2024