The break statement "jumps out" of a loop and break any further execution of the loop. for (let i = 0; i < 10; i++) { if (i === 3) { break; } console.log(i); } // 0, 1, 2 The continue statement "jumps over" one iteration in the loop. for (let i...
plasebo.hashnode.dev1 min read
No responses yet.