87,995
社区成员
发帖
与我相关
我的任务
分享
function pd(){
if( typeof(obj.status) === 'A'){
Add();
}
else if( typeof(obj.status) === 'B'){
// is B
}
else if( typeof(obj.status) === 'C'){
// is C
}
else{
// is another
}
}
function pd(){
if( typeof(obj.status)=='A'){
Add();
}
else{
}
if(state==A){
Add();
}else {
}