Search
The has() method can be used to check if a given element is present in a set.
has()
The has() method takes the element to be searched for as the argument. It returns true if the element is found in the set. Otherwise, it returns false.
true
false