mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
23 lines
No EOL
315 B
JavaScript
23 lines
No EOL
315 B
JavaScript
switch (day) {
|
|
case "Mon":
|
|
go(work);
|
|
break;
|
|
case "Tue":
|
|
go(relax);
|
|
break;
|
|
case "Thu":
|
|
go(iceFishing);
|
|
break;
|
|
case "Fri":
|
|
case "Sat":
|
|
if (day === bingoDay) {
|
|
go(bingo);
|
|
go(dancing);
|
|
}
|
|
break;
|
|
case "Sun":
|
|
go(church);
|
|
break;
|
|
default:
|
|
go(work);
|
|
} |