Set.prototype.keys

Returns an iterable of the values in the set.

Note

Returns the same iterable as Set.prototype.values. It’s called keys for consistency with the Map object.

Syntax

keys()