The JavaScript for … of statement creates a renewed loop on renewable objects.
JavaScript “For”
The JavaScript for loop is used for the codes that are desired to work until the number of repetitions. JavaScript cycles are used for continuous operation of the same code depending on the condition. In the example, the sequence sequence number is reused in ascending order. var FruitList = ["apple", "orange", "banana", "pineapple","strawberry","watermelon"] alert(FruitList[0]); alert(FruitList[1]);... Continue Reading →