URLSearchParams.get()
Description
Gets the value of a name.
Syntax
urlSearchParams.get(name)
Parameters
get(name)
name
The name of the value to query.
Return Value
A string containing the first value under the queried name,
or null
if the specified name isn't found.