understanding for of loops code example
Example 1: javascript for of loop
for (variable of iterable) {
statement
}
Example 2: javascript for of loop
(function() {
for (const argument of arguments) {
console.log(argument);
}
})(1, 2, 3);
// 1
// 2
// 3