The continue statement in a loop is used to skip the rest of the loop's body and continue with the next ________.
- iteration
- condition
- loop
- statement
The continue statement in a loop is used to skip the remaining part of the current iteration (loop body) and move on to the next iteration. It helps control the flow of a loop.
Loading...
Related Quiz
- The spread operator can be used to merge two ______ into a new one, combining their properties.
- In JavaScript, closures are crucial for functional programming as they facilitate the creation of ________.
- What considerations should be made when deciding between using a mock and a stub in a test case?
- When creating a mock object, what is typically expected regarding the behavior of the methods?
- You are working on a project where you need to load different modules based on user actions dynamically. What approach should you take to load the modules only when necessary?