JS Convertir establecido en la matriz
let array = Array.from(mySet);
let array = [...mySet];
let array = []; mySet.forEach(v => array.push(v));
KostasX
let array = Array.from(mySet);
let array = [...mySet];
let array = []; mySet.forEach(v => array.push(v));
Array.from(my_set.values());
const set = new Set();
set.add("one");
set.add("two");
const arr = Array.from(set);
console.log(arr) // ["one", "two"]