条件语句
if(){
}else if(){
}
除了 0 所有的数字都为真
if(2){ // true
}
除了 ''所有的字符串都为真
if("123"){ //true
}
switchi(){
case a:
break
default:
}
while(){
}
if(){
}else if(){
}
除了 0 所有的数字都为真
if(2){ // true
}
除了 ''所有的字符串都为真
if("123"){ //true
}
switchi(){
case a:
break
default:
}
while(){
}