isSupersetOfintermediateconst a = new Set([1, 2, 3])
const b = new Set([1, 2])
a.isSupersetOf(b) // β true
b.isSupersetOf(a) // β falseUse Set.isSupersetOf() to check whether a set contains all elements of another set.
A Set is a superset of {x} if and only if it contains x.
Challenge: Verify single-element superset behavior.