globalsHeaders()prototypeHeaders.keys()Version: 3.28.0On this pageHeaders.keys()The Headers.keys() method returns an iterator allowing to go through all keys contained in this object. The keys are String objects.Syntaxkeys()ParametersNone.Return valueReturns an iterator.