Importing a Module
To import a module, use an
import statement such as
import modulename from 'moduleaddress' . You can learn more information about different types of import statements here.
Exporting a module
.js), then load it using
https://yourusername.codehs.me/filename.js. To export the file, you should define a “default” export using
export default. To read more about exports, see here.
Still have questions? Contact our team at firstname.lastname@example.org to learn more!