12 lines
127 B
CoffeeScript
12 lines
127 B
CoffeeScript
![]() |
num: 10
|
||
|
|
||
|
result: switch num
|
||
|
when 5 then false
|
||
|
when 'a'
|
||
|
false
|
||
|
when 10 then true
|
||
|
when 11 then false
|
||
|
else false.
|
||
|
|
||
|
print(result)
|