mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
12 lines
127 B
Smalltalk
12 lines
127 B
Smalltalk
num: 10
|
|
|
|
result: switch num
|
|
when 5 then false
|
|
when 'a'
|
|
false
|
|
when 10 then true
|
|
when 11 then false
|
|
else false.
|
|
|
|
print(result)
|