Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 456 Bytes

readme.md

File metadata and controls

33 lines (20 loc) · 456 Bytes

array-add-num CI

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