mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
more better super docs, better switch docs
This commit is contained in:
@@ -2,6 +2,8 @@ switch day
|
||||
case "Tuesday" then eat_breakfast()
|
||||
case "Wednesday" then go_to_the_park()
|
||||
case "Saturday"
|
||||
if day is bingo_day then go_to_bingo().
|
||||
if day is bingo_day
|
||||
go_to_bingo()
|
||||
go_dancing().
|
||||
case "Sunday" then go_to_church()
|
||||
else go_to_work().
|
||||
Reference in New Issue
Block a user