ES module

A JavaScript file that uses import and export to share code with other files, loaded in the browser with <script type="module">.

In more detail

ES modules are the standard module system built into JavaScript. In the browser, module scripts are deferred by default, run in strict mode and can use import maps to control where imports are loaded from.

Related terms

Taught in

References