What is the output of the following code?
for (let i = 0; i < 10; i++) { console.log(i ); if (i == 3) break; }
Click to view the answer
0 1 2 3