The HTMLAreaElement.search property is a search string, also called a query string, that is a string containing a '?' followed by the parameters of the URL.
Modern browsers provide URLSearchParams and URL.searchParams to make it easy to parse out the parameters from the querystring.