Blog
JavaScript – forEach with Breaking
It seems that one of the top complaints about the Array.prototype.forEach() function is the fact that there is no easy way to break out of the loop. If you are one of those people that would like to see an implementation, here you go: Calling this function would be similar Read more…