xxxxxxxxxx
const set = new Set();
set.add("one");
set.add("two");
const arr = Array.from(set);
console.log(arr) // ["one", "two"]
xxxxxxxxxx
let array = Array.from(mySet);
let array = [mySet];
let array = []; mySet.forEach(v => array.push(v));
xxxxxxxxxx
const set = new Set([1, 2, 2]); // Set(2) { 1, 2 }
const array = [set]; // [1, 2]