funtion export code example
Example: exporting functions
//myfile.js
export function fn1() {...}
export function fn2() {...}
import * as MyFn from blabla
myFn.fn1();
//myfile.js
export function fn1() {...}
export function fn2() {...}
import * as MyFn from blabla
myFn.fn1();