globalsSet()prototypeSet.prototype.keys()Version: 3.39.3On this pageSet.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.