Two Important Rules of ES6 Modules
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.