测试 back() 和 forward()

JavaScript Window History-w3school

JavaScript Window History-w3school in new tab

history.length: