// Importer des exports nommés (accolades obligatoires) import { add, multiply } from './utils/math.js'; import { PI } from './utils/math.js'; // Renommer à l'import import { add as addition } from './utils/math.js'; // Importer tout sous un namespace import * as MathUtils from './utils/math.js'; // Utilisation : MathUtils.add(1, 2), MathUtils.PI