1. Which loop is best suited when you want the loop body to execute at least once?

Wrong

2. In a 'for' loop, what does the initialization statement typically do?

Wrong

3. Which loop is suitable when the number of iterations is known beforehand?

Wrong

4. What is the primary purpose of using loops in JavaScript?

Wrong

5. How is a 'while' loop different from a 'do-while' loop?

Wrong

6. What is the result of the following code: 'for (let i = 0; i < 5; i++) { console.log(i); }'

Wrong

7. What is the purpose of the 'continue' statement in a loop?

Wrong

8. How do you create an infinite loop intentionally in JavaScript?

Wrong

9. What does the 'break' statement do in the context of loops?

Wrong

10. In a 'for' loop, where should the loop variable be declared?

Wrong

Result: