JavaScript窗口Window.location跟Window.open区别

JavaScript窗口Window.location和Window.open区别window.location http://test.com 跳转后有后退功能w

JavaScript窗口Window.location和Window.open区别
window.location = "http://test.com" 跳转后有后退功能
window.location.replace("http://www.test.com") 跳转后没有后退功能
window.open("http://www.test.com") 要新的窗口打开链接