export javascript class code example
Example 1: js class export
export class ClassName {...}
Example 2: export function javascript
// module "mon-module.js"
export default function cube(x) {
return x * x * x;
}
export class ClassName {...}
// module "mon-module.js"
export default function cube(x) {
return x * x * x;
}