Module
Convenient way of sharing code between files
Example: Basic Module
Modules are defined with the module keyword, and their exports can be access much like properties of an object
Sharing Code ( Import and Export Statements )
Modules are a very good way to share code between files
More on modules
https://hemantajax.gitbooks.io/es6-step-by-step/content/import-export.html
Last updated
Was this helpful?