When I say there is a lot more you can do with reduce function you wont believe me .Trust me before I started to put this article together I also did not know that this many things can be possible . Most of you would already be familiar with the simp...

Markdown supported · ⌘↵ to post
Chaku
Coding my dreams...
Thanks for sharing these examples. I definitely leaned new thing today.
You could also use reduce method to flatten an array, but I don't exactly know how!