how to reload the same page using javascript

JavaScript
location.reload();BY LOVE
window.location.reload();
Source

Also in JavaScript: