Let's test your knowledge. Click the correct answer from the options.
Which of the following statements about do-while loops in JavaScript is true?
Click the option that best answers the question.
- The code inside a do-while loop is only executed if the condition is true
- A do-while loop is guaranteed to execute the code block at least once
- The condition of a do-while loop is checked before executing the code block
- A do-while loop is a version of the while loop in JavaScript