export one object to another js es6 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;
}