globalsURLSearchParams()prototypeURLSearchParams.keys()Version: 3.27.2On this pageURLSearchParams.keys()The keys() method of the URLSearchParams interface returns an iterator allowing iteration through all keys contained in this object. The keys are string objects.Syntaxkeys()ParametersNone.Return valueReturns an iterator.