//字符串
var day="dd";
switch (day)
{
case "dd":
x="day it's dd";
break;
case "ff":
x="day it's ff";
break;
default:
x="day is default";
}
输出
"day it's dd"
2022-12-20 22:30:36
//字符串
var day="dd";
switch (day)
{
case "dd":
x="day it's dd";
break;
case "ff":
x="day it's ff";
break;
default:
x="day is default";
}
输出
"day it's dd"