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