ES6 introduced modules to JavaScript. Modules are chunks of JavaScripts that can be exported and then imported in other files in your application. In this lesson, we'll learn how to do so with the import
and export
keywords.
We also learn how to import our ES6 modules under different aliases.