Practice
Learn
← Quit
0 / 0 correct
JS / TypeScript
Medium
1 of 20
What does this log?
for (var i = 0; i < 3; i++) { setTimeout(() => console.log(i), 0); }
A
2 2 2
B
undefined three times
C
3 3 3
D
0 1 2