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.)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Indeed, but as a reminder there are methods that allow you to "break out" soon looping an array with FP. Namely,
find
andsome
are probably the most expressive. (Alas,find
isn't supported in IE, not even 11, but OTOH is easily polyfill-able.)