array-add-num
v1.10.0
Published
Add up all the numbers in the array
Downloads
1,330
Maintainers
Readme
array-add-num
Add up all the numbers in the array
Install
$ npm i array-add-num
Usage
const arrayAdd = require('array-add-num');
arrayAdd([1, 2, 3, 4]);
//=> 10
API
arrayAdd(input)
input
Type: Array
Default: []
Must be a JavaScript Array object.
License
MIT © Palash Mondal