How does the code written by ECMAScript 6 run in the browser

  node.js, question

To learn and write ECMAScript6, do you need to compile it into code that the browser can run now, and how to use and compile it to run?

Babel can be used to convert ES6 to ES5. In fact, many ES6 features are supported by modern browsers. You can check them out below.