Javascript examples for Statement:Quiz
Make the loop start counting from 5 instead of 0
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> var i;/*from w ww . j a va 2s . com*/ for (i = 5; i < 10; i++) { document.getElementById("demo").innerHTML += i + "<br>"; } </script> </body> </html>