Skip to content

Glossary: JavaScript Beyond the Basics

Default import

Also written: default export

An import that gives a module's single main value without braces. An ES module importing a CommonJS file this way receives the whole `module.exports`.

Where the book teaches it

Related terms

CommonJSES modules