void()仅仅是代表不返回任何值,但是括号内的表达式还是要运行,如

void(alert("Wornning!"))

 

posted on 2019-05-07 20:27  许天天  阅读(130)  评论(0编辑  收藏  举报