Location.search - Web documentation
property Location.search

Returns the Location object's URL's query (includes leading "?" if non-empty).

Cannot be set in Deno.

Type