javascript以下几种情况转换成布尔类型会得到false

0
-0
''
NaN
undefined
null
false
document.all()

posted @ 2020-02-28 16:48  lwlcode  阅读(393)  评论(0)    收藏  举报