DEV Community

Discussion on: What's the worst part about the JS ecosystem?

 
michaelcurrin profile image
Michael Currin • Edited

@leob code in ES5 will be slower than ES6 because it is more code to execute. I came across this. So to support 1% or 5% or whatever of legacy browsers you make speed and file size worse for everyone

Thread Thread
 
leob profile image
leob

Interesting!

Thread Thread
 
michaelcurrin profile image
Michael Currin

Sorry corrected my typo. ES5 slower than, not in.

Thread Thread
 
pigozzifr profile image
Francesco Pigozzi

@peerreynders your comment is gold 🦄