Front-end Javascript developers -- what version of Javascript is mainstream right now. Is es2018 still too new to use for compatibility concerns?
I'd like to use the newest version of Javascript that is still mostly compatible with the major browsers -- what would that be?
Conversation
Replying to
Compiling JavaScript is the norm. This allows us to write code using the latest features and then compile that code to something that is cross browser compatible. Example here: babeljs.io/repl
1
2
Replying to
Thank you! So if I used a feature in es2018, Babel would compile it so that the resulting code was compatible with browsers that might not have full support for es2018?

