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