export all methods of a js file 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;
}