// The break statement breaks out of a switch or a loop. let text = ""; for (let i = 0; i < 5; i++) { if (i == 3) break; text += i; } // output: 012