For that promise tricky question
Good catch. The difference is:
in foo, the await is directly inside foo
in two, the await is waiting on another async function’s promise
So in one case, foo queues its own continuation immediately
dheerajmalik.hashnode.dev4 min read