JS

JavaScript ES6 - What is a modules in es6

13.

What is a module in ES6?

A data structure used to define classes and objects.

A way to import and export functionality between different JavaScript files.

An object that encapsulates related functions and variables.

A code file that contains reusable JavaScript code.