Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Statements
The break Statement
The loop is supposed to output 0 to 4, but the break statement exits the loop when i == 3: