You can use the reload() method of the Location object to reload the current web page dynamically in JavaScript.

Here is an example:

location.reload()

You can also pass an optional boolean parameter to reload() to force the browser to reload the page from the server:

location.reload(true)

If you pass the false value or skip it entirely, the browser may reload the page from its cache.

Take a look at JavaScript location object tutorial to learn more about the Location object properties and methods.