Quiz · Asynchronous code · lesson 2 of 12
Quiz — order with setTimeout
What does the program print (lines separated by spaces)?
console.log(1);
setTimeout(() => {
console.log(2);
}, 0);
console.log(3);Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.