searchParams

open external val searchParams: URLSearchParams(source)

The searchParams read-only property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL.

MDN Reference