mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
15 lines
No EOL
302 B
JavaScript
15 lines
No EOL
302 B
JavaScript
(function(){
|
|
if (day === "Tuesday") {
|
|
eat_breakfast();
|
|
} else if (day === "Wednesday") {
|
|
go_to_the_park();
|
|
} else if (day === "Saturday") {
|
|
if (day === bingo_day) {
|
|
go_to_bingo();
|
|
};
|
|
} else if (day === "Sunday") {
|
|
go_to_church();
|
|
} else {
|
|
go_to_work();
|
|
}
|
|
})(); |