switch(){
case :
break;
case :
break;
}
var qujing = ["孙悟空","猪八戒","沙悟净","白龙马"];
var aa = "孙悟空";
switch(aa){
case qujing[0]:
alert("我就是齐天大圣孙悟空");
break;
case qujing[1]:
alert("问世间情为何物,只叫人生死相许");
break;
}