export all from js file to another 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;
}