JavaScript iterate sets

const set = new Set([1, 2, 3]);

// looping through Set
for (let i of set) {
    console.log(i);
}
SAMER SAEID