🏠 New in Low Baseline Support: Set methods
June 11, 2024
caniuse · mdn · spec
The difference()
, intersection()
, isDisjointFrom()
, isSubsetOf()
, isSupersetOf()
, symmetricDifference()
, and union()
methods of the JavaScript Set
object performs operations between two sets.
Source features
javascript.builtins.Set.difference
[mdn]
javascript.builtins.Set.intersection
[mdn]
javascript.builtins.Set.isDisjointFrom
[mdn]
javascript.builtins.Set.isSubsetOf
[mdn]
javascript.builtins.Set.isSupersetOf
[mdn]
javascript.builtins.Set.symmetricDifference
[mdn]
javascript.builtins.Set.union
[mdn]