Skip to content

Glossary: JavaScript Basics

Module

Also written: modules

A file of JavaScript that shares chosen pieces with other files using `export`, which other files bring in with `import`. Anything not exported stays private.

Where the book teaches it

Related terms

exportimportES modules