DEV Community

Mehul Lakhanpal
Mehul Lakhanpal

Posted on

Reload a webpage

Alt Text

Top comments (3)

Collapse
 
melvincarvalho profile image
Melvin Carvalho

haha, genius!

Collapse
 
melvincarvalho profile image
Melvin Carvalho

You can also do

location.href = location.href

Collapse
 
ml318097 profile image
Mehul Lakhanpal

Wow 500+ ways to just reload..🤯