Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { var1, var2 } from "../utils/...";
- export const fn1 = async (par1) => { ... };
- export const fn2 = async (par2) => { ... };
- export const fn3 = async (par3) => { //This could be used outside and inside this file
- let someVar = await someMysqlstatement/; // ...
- };
- export const fn4 = async (par1) => { //Would like to use fn3 here
- let someVar2 await f3(par3);
- // Works −−−−−−−−−−^
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement