1.0.0 • Published 8 years ago
accumulateArray v1.0.0
accumulateArray
A simple function to accumulate arrays of numbers
Getting started
Node.js
$ npm install --save accumulateArray
var ac = require('accumulateArray');
ac.accumulateArray([1,2,3,4]); // "[1,3,6,10]"
Browser
Download the production version or the development version.
In your web page:
<script src="dist/accumulateArray.min.js"></script>
<script>
accumulate(); // "awesome"
</script>
License
MIT © Bill Poulson
1.0.0
8 years ago