📅  最后修改于: 2022-03-11 14:56:47.291000             🧑  作者: Mango
代码示例5
switch(x){
case value1: // if x === value1
...
break;
case value2: // if x === value2
...
break;
default: // if x not match
...
}