📜  后退按钮事件监听器 javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:50.795000             🧑  作者: Mango

代码示例2
function goBack() {
    window.location.hash = window.location.lasthash[window.location.lasthash.length-1];
     window.location.lasthash.pop();
}