JavaScript Union dua set

var merged = new Set([...set1, ...set2, ...set3])
Arno Deceuninck