javascript
for of loop ecmascript 6
The for loop is a fundamental looping structure available in a wide range of programming languages, including ECMAScript 6. The for loop enables you to iterate over a set of values, running a block of code a certain number of times. The structure of the for loop is as follows: