Control Flow & Loops

What will the following code output? for(var i=0; i<3; i++) { setTimeout(() => console.log(i), 1000); }
Next Question (15/30)