Appearance
location.hash的值实际就是URL中#后面的东西。
location.hash
#
history实际采用了HTML5中提供的API来实现,主要有history.pushState()和history.replaceState()。