boolean在空字符串,null,undefined, 0 ,NaN这六种情况下返回为false,其他情况都返回true。
boolean出现false的所有情况
猜你喜欢
转载自blog.csdn.net/zsm4623/article/details/88188332
今日推荐
周排行