how to export the whole file in javascript code example
Example: export function javascript
// module "mon-module.js"
export default function cube(x) {
return x * x * x;
}
// module "mon-module.js"
export default function cube(x) {
return x * x * x;
}