The get() method of the URLSearchParams interface returns the first value associated to the given search parameter.
get()
MDN Reference