mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
14 lines
158 B
CoffeeScript
14 lines
158 B
CoffeeScript
num: 10
|
|
|
|
result: switch num
|
|
when 5 then false
|
|
when 'a'
|
|
true
|
|
true
|
|
false
|
|
when 10 then true
|
|
when 11 then false
|
|
else false
|
|
|
|
print(result)
|