mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
13 lines
291 B
JavaScript
13 lines
291 B
JavaScript
(function(){
|
|
if (day === "Tuesday") {
|
|
eat_breakfast();
|
|
} else if (day === "Wednesday") {
|
|
go_to_the_park();
|
|
} else if (day === "Saturday") {
|
|
day === bingo_day ? go_to_bingo() : null;
|
|
} else if (day === "Sunday") {
|
|
go_to_church();
|
|
} else {
|
|
go_to_work();
|
|
}
|
|
})(); |