Skip to content

Latest commit

History

History

README.md

array-sum

NPM versionnpm download

Get the sum of the values in an array.

Installation

$ npm install --save ml-array-sum

Usage

importsumfrom'ml-array-sum';constresult=sum([1,5,3,2,4]);// 15

License

MIT