javaScript 判断为false


JavaScript把nullundefined0NaN和空字符串''视为false,其他值一概视为true

posted @ 2018-11-24 23:22  徐小白  阅读(501)  评论(0)    收藏  举报