Variables in a module are private unless exported. This prevents pollution of the global scope.
// utils.js
const secret = "hidden"; // Private
export const visible = "public"; // Accessible
// app.js
import { visible } from "./utils.js";
// secret is not accessible