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