re: The Holy Trinity of Functional Programming: Map, Filter and Reduce VIEW POST


Ugh... I think u accidentally copy pasted code for filter in reduce...


I don't think I did, they just look really similar. Instead of .filter it says .reduce :)


Apologies, at the time I "really" saw filter instead of reduce. LOL

code of conduct - report abuse