21.
What is the purpose of the following JavaScript statement? continue;
22.
What will be the output of the following JavaScript code? Code: let x = 7; if (x % 2 === 0) { console.log("Even"); } else { console.log("Odd"); }
23.
What is the purpose of the following JavaScript statement? break;
24.
Which of the following JavaScript statements is used to execute a block of code repeatedly until a specified condition becomes false?
25.
What will be the output of the following JavaScript code? Code: let i = 1; do { console.log(i); i++; } while (i < 3);