JavaScript Break and Continue
The break statement "jumps out" of a loop.
example:
for (let i = 0; i < 10; i++) { if (i === 3) { break; } text += "The number is " + i + "<br>";}
The continue statement "jumps over" one iteration in the loop/The continue statement breaks one itera...
frontendblogs.hashnode.dev1 min read