method URLSearchParams.getAllURLSearchParams.getAll(name: string): string[]DeprecatedReturns all the values associated with a given search parameter as an array. searchParams.getAll('name'); Parametersname: stringReturn Typestring[]