re: Don’t pay the for-loop tax VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Indeed, but as a reminder there are methods that allow you to "break out" soon looping an array with FP. Namely, find and some are probably the most expressive. (Alas, find isn't supported in IE, not even 11, but OTOH is easily polyfill-able.)

code of conduct - report abuse