re: Tips and Tricks for Better JavaScript Conditionals and Match Criteria VIEW POST

FULL DISCUSSION
 

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).

 

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.

code of conduct - report abuse