switch语句帮我看一下,哪里错了,运行不出来
var myweek=1;
switch(myweek);
{
case 1;
document.write("办公");
break;
case 2;
document.write("自动化");
break;
default:document.write("休息");
}