method URLSearchParams.getURLSearchParams.get(name: string): string | nullDeprecatedReturns the first value associated to the given search parameter. searchParams.get('name'); Parametersname: stringReturn Typestring | null