APIStatisticssumOn this pageFunction: sum() sum(iterable): number Returns the sum of the numbers of iterable. Parameters iterable Iterable<number, any, any> Returns number Example console.log(sum([1, 4, 6, 2]))//=> 13 Since v0.0.1 Defined in statistics.d.ts:124