[Javascript] Async await in Call stack

 

 

Once run in async await, the rest of the function body will be push to Microtask Queue console.log(3)

 

Order: 2 3 4 1

posted @ 2023-06-26 01:46  Zhentiw  阅读(26)  评论(0)    收藏  举报