Add up all the numbers in the array
$ npm i array-add-num
const arrayAdd = require('array-add-num');
arrayAdd([1, 2, 3, 4]);
//=> 10
Type: Array
Default: []
Must be a JavaScript Array object.
MIT © Palash Mondal
Add up all the numbers in the array
$ npm i array-add-num
const arrayAdd = require('array-add-num');
arrayAdd([1, 2, 3, 4]);
//=> 10
Type: Array
Default: []
Must be a JavaScript Array object.
MIT © Palash Mondal