JavaScript's for-of loops are actually fast

15 points by runxiyu


conartist6

I mean yeah, but that's just an array-specific optimization.

What's a lot more interesting to get into is what happens if you embrace iteration as a pattern.