globalsSet()prototypeSet.prototype.keys()Version: 3.27.2On this pageSet.prototype.keys()The keys() method is an alias for the values() method.Syntaxkeys()Return valueA new iterator object containing the values for each element in the given Set, in insertion order.