For statement

Example of 'for' loop in JavaScript.
for (i = 10; i >= 0; i--) {
     text += "Countdown ... " + i + "<br>";
}

Responses

0 Replies