how to reload the same page using javascript

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

Also in JavaScript: