// math-utils.js
function add(a, b) {
return a + b;
}
function multiply(a, b) {
return a * b;
}
module.exports = { add, multiply };
// app.js
const { add, multiply } = require("./math-utils");
console.log(add(2, 3)); // 5
console.log(multiply(4, 5)); // 20