2 ms·
> No downside whatsoever! That's not entirely true if you need to support IE, in which case Babel (or whatever compiler you're using) will generate extra code
by RussianCow 6y ago
> No downside whatsoever!
That's not entirely true if you need to support IE, in which case Babel (or whatever compiler you're using) will generate extra code for the `for...of` loop. But even then, I would still recommend using it for the reasons you mentioned.