October 2018
Intermediate to advanced
590 pages
15h 5m
English
In ES6, JavaScript provides language-level support for modules. It uses export and import to organize modules and create a static module structure. That means you can determine imports and exports at compile time. Another important feature of ES6's module is that imports and exports must be at the top level. You cannot nest them inside blocks such as if and try/catch.
To create a module, all you need to do is to put your JavaScript code into a .js ...
Read now
Unlock full access