keysbeginnerconst s = new Set([1, 2, 3])
for (const k of s.keys()) {
console.log(k) // 1, 2, 3
}Use Set.keys() to iterate over the values of a set (identical to values()).
keys() returns a SetIterator.
Challenge: Verify the type of the keys() return value.