Is ES6 supported?
-
Is ES6 supported?
-
- Both the main server and private servers use Node.js, so they support any ES6 feature that works in Node.js.
- The simulator uses your browser’s engine, or Chrome if you’re using the desktop client. Anything that works in that will work on the simulator.
- Right now, Node.js, and the popular browsers, support almost everything in ES6, but no single option supports every feature out there. I recommend https://kangax.github.io/compat-table/es6/ as a list of what works and what doesn’t on any particular browser.
-
Last I checked we had all of ES6 except maybe the import/export keywords, and that wasn't a deal breaker for me. The good stuff like class syntax, arrow functions, array and object destructuring I use liberally throughout my code and can attest it works beautifully.