Basic codes main.js:
class Something {
static ThisIsStaticFunction () { ... }
}
export default Something;
Other file xxx.js:
import xxx;
// I want to call `ThisIsStaticFunction()` without having to
// write `Something.ThisIsStaticFunction()` how can I achieve this?
I want to call ThisIsStaticFunction()
without having to write Something.ThisIsStaticFunction()
how can I achieve this?