Removes a query parameter from the current URL without reloading the page.
The name of the query parameter to remove.
// URL: https://example.com?page=2&sort=ascremoveQueryParam("sort");// URL becomes: https://example.com?page=2 Copy
// URL: https://example.com?page=2&sort=ascremoveQueryParam("sort");// URL becomes: https://example.com?page=2
1.1.0
Removes a query parameter from the current URL without reloading the page.