DEV Community


Discussion on: Don’t pay the for-loop tax

pnewman8 profile image

This is all very well, but it's not possible if you need to support Internet Explorer. I can't see that problem going away any time soon.

neonhomer profile image

This! And yes some of us still have to support IE8! 😕

danhomola profile image
Dan Homola Author

Actually, map is supported since IE 9 and so is reduce, so there is no need to worry (the support tables are at the end of the linked pages).

nicowernli profile image
Nicolás Wernli

Why not? First IE11 will support most if not all of this functions. On the other hand you can use Babel to convert your ES6 to ES5.
My last point is that this is a good practice post, that's applicable to anything, not just the web, you should try to use this pattern no matter what you are doing