javascript arrays variables code example
Example 1: javascript declare array
var array = []
Example 2: java script arrays
fruits = ["Banana", "Orange", "Apple", "Mango"];
text = "<ul>";
for (i = 0; i < fruits.length; i++) {
text += "<li>" + fruits[i] + "</li>";
}