switch 问题?不懂?
var myweek =3;//myweek表示星期几变量 switch(myweek) { case 1: case 2: document.write("学习理念知识"); break; case 3: case 4: document.write("到企业实践"); break; case 5: document.write("总结经验"); break; case 6: case 0: document.write("周六、日休息和娱乐"); break; default: document.write("请输0~6范围的数"); } </script>
//为什么输出不了?求解?