CommonJS modules export values, while ES6 modules export immutable bindings. This blog post explains what that means.
You should be loosely familiar with ES6 modules. If you aren’t, you can consult the chapter on modules in “Exploring ES6”.
[2015-07-02] New material in these sections:
[2015-06-24] I added an FAQ with three new questions:
- Does the web finally have a universal bytecode?
- Isn’t WebAssembly like Flash?
I’m glad to announce that the first version of my book “Exploring ES6” is finally finished! It was much more work than I anticipated – the PDF has over 460 pages! I’m really happy with how it turned out.
Exploring ES6 is a living book: you can buy it now and will receive free updates until it is completely done. That may take a while, possibly until 2016. Once the book is done, there will also be a print version. New material will often be published on 2ality, before it is added to the book.
For all further information on ”Exploring ES6”, please consult its website.