News

The loop is broken, and JavaScript skips to the end of the while statement block, ... This example shows a for loop that counts from 1 to 10 and prints the number at each iteration of the loop.