searchParams

URL: searchParams

From MDN: "The searchParams readonly property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL."

 

Notes & further reading

Example value:

const url = new URL("https://elide.dev/?one=two#hello");
url.searchParams.get('one');
← "two"