About window.location.href and history.go

Today JS test on these two statements found when written back, especially when the page there are some parameters, with history.go (-2) is not very accurate, so a lot of trouble.

Reproduced in: https: //www.cnblogs.com/Tylerwang/archive/2012/05/04/2482570.html

Guess you like

Origin blog.csdn.net/weixin_34281477/article/details/93352108