What will the following code output?
for (let i = 0; i < 3; i++) { if (i === 1) break; console.log(i); }
0, 1, 2
0
1
0, 1
This question is part of this quiz :