score:0

it should be

window.location.reload()

this is my demo https://jsfiddle.net/huynhsamha/jkymh8sq/

<script async src="//jsfiddle.net/huynhsamha/jkymh8sq/4/embed/js,html,css,result/dark/"></script>

score:0

setting window.location to the current window.location will reload the page. you can try as, window.location = window.location.


Related Query

More Query from same tag