JS Set Get Elements by Array

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