说明:js中switch语句的语法风格
function convert(x){
switch(x)
{
case "string":
document.write("string");
break;
case "number":
document.write("number");
break;
default:
document.write("null");
break;
}
}
2021-09-18 20:29:35
说明:js中switch语句的语法风格
function convert(x){
switch(x)
{
case "string":
document.write("string");
break;
case "number":
document.write("number");
break;
default:
document.write("null");
break;
}
}