Core: learn it Step 6 of 16 on the Frontend Developer roadmap

Modules

import and export let you split code across files. Modern tools and frameworks expect your code to be organised this way.

Resources

More in JavaScript fundamentals

See it on the Frontend Developer roadmap