has
const s = new Set([1, 2, 3]) s.has(2) // β true s.has(99) // β false
Use Set.has() to check if a value exists in the set.
After add(), has() returns true for that value.
Challenge: Verify that has() returns true after add().