News

Any JavaScript code inside the while statement block—defined by braces ... This example shows a for loop that counts from 1 to 10 and prints the number at each iteration of the loop.