JavaScript para ... de com sets

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

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