method URLSearchParams.prototype.getURLSearchParams.prototype.get(name: string): string | nullDeprecatedReturns the value of the first name-value pair whose name is name. If there are no such pairs, null is returned. Parametersname: stringReturn Typestring | nullor null if there is no name-value pair with the given name.