What does the has method of a Set object return?
has
const set = new Set([1, 2, 3]); const result = set.has(1);
1
false
true
undefined