hasbeginnerconst s = new Set([1, 2, 3])
s.has(2) // β true
s.has(99) // β falseUse Set.has() to check if a value exists in the set.
has(value) returns true if the value is in the Set.
Challenge: Verify that has() returns true for an existing value.