globalsHeaders()prototypeHeaders.keys()Version: 3.27.2On 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.