JavaScript Union два набора
var merged = new Set([...set1, ...set2, ...set3])
Arno Deceuninck
var merged = new Set([...set1, ...set2, ...set3])