hhow to convert arrays to hash sets in typescript code example Example: create set from list javascript var arr = [55, 44, 65]; var set = new Set(arr);