ES modules are defined in the ES2015 specification. Import And exports are not supported in Internet explorer, for browser compatibility you can use "caniuse.com".
Modules was partially supported from Node.js v8.5 , CommonJS modules are used in node by default which do the same functions of ECMAScript module . Currently node support ECMAScript module fully. You can find the syntax in node documentation. Hope this will help you to some extent, thank you for asking the questions.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Discussion on: JavaScript Modules
Replies for: This is a great article on Modules. I am a long-time dev (with C++ / OOP background) so seeing Modules in JavaScript is a step in the right directi...
For further actions, you may consider blocking this person and/or reporting abuse