js set получает элементы по массиву

const myArr = Array.from(mySet1) 
Bahriddin Mo'minov