Pra*_*ant -3 javascript
我发现了这个地方:而不是if (count != undefined && count != null),使用if(count != null).我可以使用if (count == null)和if(!count)互换?
if (count != undefined && count != null)
if(count != null)
if (count == null)
if(!count)
Ry-*_*Ry- 5
count != undefined && count != null是完全相同一样count != null.!count如果是真实的count是null,undefined,0,NaN,空字符串,或false.
count != undefined && count != null
count != null
!count
count
null
undefined
0
NaN
false
归档时间:
9 年,3 月 前
查看次数:
426 次
最近记录: