Sum numbers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
index.js
license
package.json
readme.md
test.js

readme.md

math-sum Build Status

Sum numbers

Install

$ npm install --save math-sum

Usage

var mathSum = require('math-sum');

mathSum(5, 5);
//=> 10

var arr = [1, 2, 3, 4];
mathSum(arr);
//=> 10

Related

License

MIT © Sindre Sorhus