const func1 = async () => { console.log("hello1"); } const func2 = async () => { console.log("hello2"); } const func3 = async () => { await func1(); await func2(); console.log("hello3"); } func3();