Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (let i = 1; i <= 10; i++) {
- console.log("Iteration", i);
- if (i >= 5) {
- console.log("Stop");
- break;
- };
- if (i % 2 == 0) {
- console.log("Skip");
- continue;
- } else {
- console.log("Successful");
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement