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

TOP OF THREAD FULL DISCUSSION
re: You put emphasis on the fact that map, filter and reduce go through every single element of the array, that being a theoretical con, compared to a ...
 

Appreciate the feedback, good point that I didn't dig in how to break out of the for loop. I assumed people knew how to do it but thats maybe a faulty assumption.

Good point about the for-of loop !== for loop, will be more careful in the future :)

code of conduct - report abuse