ruanyf/jstutorial

history对象

Opened this issue · 2 comments

阮老师您好:
在【history对象】章节的第2小节【history.pushState()】中,
if (!!(window.history && history.pushState)) 中,
貌似 !!是可以不要的吧

查了下,原来是转换成布尔值

这章马上要重写,后面统一修改。