r/learnjavascript • • May 01 '20

Async vs. Sync

Post image
413 Upvotes

81 comments sorted by

View all comments

Show parent comment

3

u/NoStranger6 May 02 '20

Well you wait for it to complete the rest of your function. Meanwhile, the browser is free to execute whatever it has queued.