Skip to main content
Version: 3.45.0

Set.prototype.keys()

The keys() method is an alias for the values() method.

Syntax​

keys()

Return value​

A new iterator object containing the values for each element in the given Set, in insertion order.