Medium
What will this code output and why?
1setTimeout(() => console.log("First"), 0);2Promise.resolve().then(() => console.log("Second"));3console.log("Third");
1setTimeout(() => console.log("First"), 0);2Promise.resolve().then(() => console.log("Second"));3console.log("Third");