if(变量):的总结

变量-数据类型 true false
Boolean true;1 false;0
Number 0;NaN
String ‘“”
Object true
Undefined
Null

你可能感兴趣的:(前端,javascript)