A do-while loop runs the body first, then checks the condition:
let input
do {
input = prompt("Enter a number > 10")
} while (input <= 10)
This guarantees at least one execution. Use do-while when you need to run code before knowing if you should repeat.
The condition is checked after each iteration, so the loop always runs at least once.