Re:Javascript Arrays and Functional Programming
by brudgers on Thursday August 03, 2017 @12:01PM
(#14920718)
When I discovered Array.map, I already knew about map/filter/reduce. The reason it was a discovery is that the bulk of Javascript resources used for(){} loops and in those few places where map/filter/reduce were used, many implemented map/filter/reduce as library functions because Array.map etc were not always part of Javascript...I think Mozilla added them at some point based on how I found out about them.
[ Parent
| on HN ]
There are no comments on this comment yet.