// Combined file for demonstration purposes
// In a real application, these would be separate files
// This would be in math.mjs
export function add(a, b) {
return a + b;
}
export function subtract(a, b) {
return a - b;
}
// This would be in app.mjs
import { add, subtract } from './math.mjs';
console.log(add(5, 3)); // 8
console.log(subtract(10, 4)); // 6
8 6