What order do these four strings print in?
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
Watch on YouTube ↗
(saves to browser)
DeepCamp AI