In my code, there is an async
function that calls another async
function:
const func1 = async () => {...}
const func2 = async () => {func1()}
I am curious whether it is necessary or redundant to use await
when calling func1()
inside func2
?
const func2 = async () => {await func1()}