In ES6 Modules, imports and exports must be ________, unlike in CommonJS where they can be dynamic.

  • Explicit
  • Implicit
  • Dynamic
  • Conditional
In ES6 modules, imports and exports must be explicit, meaning they are statically determined at compile-time. This allows for better tooling support and optimizations. CommonJS, on the other hand, allows dynamic imports and exports.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *