What order do these four strings print in?

Estimated read time 1 min read

Post Contenthttps://www.youtube.com/shorts/z3cH4lRSQi8

​ A quick async themed JavaScript bug hunt. We log a few values, schedule a setTimeout with zero delay, and resolve a Promise. Nothing looks unusual, but the output order might be unexpected. What order do the four strings print in, and why? Check it out and share your answer in the comments.

Subscribe to Google for Developers → https://goo.gle/developers

Speaker: Sayali Godbole   Read More Google for Developers 

You May Also Like

More From Author