Which loop construct in JavaScript is useful when you don't know the number of iterations in advance and want to exit the loop based on a condition?
Which loop construct in JavaScript is useful when you don't know the number of iterations in advance and want to exit the loop based on a condition?