Mode Analytics interview question

Say you have these functions: function f1() { console.log(1); } function f2() { console.log(2); } function f3() { console.log(3); } f1(); setTimeout[f2, 0); f3(); What does the console print and why?

Interview Answer

Anonymous

21 Sept 2020

Talked about the event loop.