You might not need a loop
Ire Aderinokun has written a nifty piece using loops and when we might consider replacing it with another method, say
.filter(). I particularly like what she has to say here:
As I mentioned earlier, loops are a great tool for a lot of cases, and the existence of these new methods doesn’t mean that loops shouldn’t be used at all.
I think these methods are great because they provide code that is in a way self-documenting. When …
The post You might not need a loop appeared first on CSS-Tricks.