Javascript刷新页面的几种方法

Javascript刷新页面的几种方法:

window.navigate(location)
location.reload()
location=location
location.assign(location)
location.replace(location)
history.go(0)
document.execCommand('Refresh')
document.URL=location.href

原文地址:https://www.cnblogs.com/jacketlin/p/5603887.html