javascript iterator array code example
Example 1: javascript loop and array
var array = ["hello","world"];
array.forEach(item=>{
console.log(item);
});
Example 2: javascript iterate array
String[] myStringArray = {"Hello", "World"};
for (String s : myStringArray)
{
// Do something
}