window.reload
window.location.reload();
Here is what the above code is Doing:
1. It’s creating a new variable called “new_url” and setting it equal to the current URL.
2. It’s then adding a new query parameter to the URL called “new_query_param” and setting it equal to “new_query_param_value”.
3. It’s then reloading the page.