How can we use es6 modules in modern web browsers without transpiling the code
问题 Is it possible to use es6 module system and import modules in web browsers? 回答1: With chrome 61, es6 module system is introduced to the world of web browsers. This link https://developers.google.com/web/fundamentals/primers/modules can be referred for more details on how chrome implements the module system. Some of the important features of es6 module system discussed in the above link are: Modules by default are strict mode. They are not lexical top-level scope, which is var foo = 42 in