DEV Community

Discussion on: Tips and Tricks for Better JavaScript Conditionals and Match Criteria

Collapse
 
karataev profile image
Eugene Karataev

Nice tips!
It should be kept in mind that some features from ES2015+ are not transpiled by Babel. Array.prototype.includes and Map should be explicitly polyfilled if it's necessary to support older browsers (IE, for example).

Collapse
 
proticm profile image
Milos Protic

Thanks!

Yes, I agree. But also, we should slowly stop caring about the IE and it needs. If we do that, we have solid cross-browser support.