使用js switch case语句,如果用作比较的时候,传入值应为switch(true),否则case情况不生效let a=10;switch(true){ case a<5: //xxxx break; ...
確定! 回上一頁