In ES modules, named exports let you export multiple values from a file: export const PI = 3.14; and export function add(a, b) { return a + b; }. Consumers import them by name: import { PI, add } from './math';. In this sandbox, simulate a module using an object that represents the module's public API.