JavaScript loop through
In this Tutorial we want to describe you a code that help you in understanding JavaScript loop through. We are using Java Script language as scripting language. The for loop execute and run the script till variable i is less than 9.The document .write print the value of var i ,followed by a break line, again the for loop execute and run the script after comparing variable i and variable j in the loop and print the output as per condition.
javascript_array_loop_through.html
<html>
|
Output of the program