mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
self-compiling switch statements
This commit is contained in:
1
test/fixtures/execution/test_switch.coffee
vendored
1
test/fixtures/execution/test_switch.coffee
vendored
@@ -16,6 +16,7 @@ result: switch num
|
||||
|
||||
puts result
|
||||
|
||||
|
||||
func: (num) ->
|
||||
switch num
|
||||
when 2, 4, 6
|
||||
|
||||
Reference in New Issue
Block a user