Tricky Outputs & Edge Cases — Question 50
Reason about JavaScript execution precisely.
Knowledge Check
What is the output order of console.log(1); Promise.resolve().then(() => console.log(2)); console.log(3);?
Reason about JavaScript execution precisely.
What is the output order of console.log(1); Promise.resolve().then(() => console.log(2)); console.log(3);?