Given a for of loop the value of the assigned the variable(i for this example) is equal to what array[i] would equal if it was a normal for loop. H
i
array[i]
Or
array = ["one", "two", "three"]; for (i = 0, item; item=array[i]; i++) { console.log(i); // Logs the current index number; console.log(item); // Logs the current item in the array; }