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

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

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