for of loop

Standard Array

for standard arrays, you can definitely use for of and it would log


output:

mini
mani
mo

iterating function argument object

There’s a argument object that is of object Array. You can iterate through it


output:

a
b
c

sets

Map


output:
Key: one and Value: 1
Key: two and Value: 2