There are two important Rules, which you need to understand if you’re working with ES6 Modules:
- Modules are always in Strict Mode (no need to define
"use strict"). - Modules don’t have a shared, global Scope. Instead each Module has its own Scope.
There are two important Rules, which you need to understand if you’re working with ES6 Modules:
"use strict").