SearchParams test

$searchParams.get("x"): null
($searchParams.get("y")): null

As you click the buttons, see what happens with $searchParams and the browser url changing accordingly.

If you change the values directly in the url, they will be updated below as well.