JavaScript -Schwachstellen sind nicht iterbar

const weakSet = new WeakSet({a:1});

// looping through WeakSet
for (let i of weakSet) {

    // TypeError
    console.log(i);
}
SAMER SAEID