c29b520108 | ||
---|---|---|
.. | ||
jsdoc2md | ||
lib | ||
test | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
package.json |
README.md
reduce-flatten
Flatten an array into the supplied array.
Example
var flatten = require('reduce-flatten')
flatten() ⏏
Kind: Exported function
Example
> numbers = [ 1, 2, [ 3, 4 ], 5 ]
> numbers.reduce(flatten, [])
[ 1, 2, 3, 4, 5 ]
© 2016 Lloyd Brookes 75pound@gmail.com. Documented by jsdoc-to-markdown.