JavaScript iterate através de iteráveis
const number = [ 1, 2, 3];
for (let n of number[Symbol.iterator]()) {
console.log(n);
}
SAMER SAEID
const number = [ 1, 2, 3];
for (let n of number[Symbol.iterator]()) {
console.log(n);
}