CommentJul 25, 20171
forEach is good, but for loops perform better for most things. I have had this debate with other engineers on my team and I always come back to this example: https://jsperf.com/jquery-each-vs-each-vs-for-loop/3 I would prove it out, especially if performance is a big concern for your project. For readability reasons, and because I enjoy the library, I prefer to use the each function from lodash .