metode iterasi

To summarize the different iteration methods:

 1   Standard for loop: i is an array index
 2   for...of loop: i is an array element/value
 3   for...in on an array: i is an array index
 4   for...in on an object: i is an object property
Gorgeous Goldfinch