mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
adding an if/else/chain test
This commit is contained in:
@@ -13,4 +13,14 @@ puts result
|
||||
first: if false then false else second: if false then false else true
|
||||
|
||||
puts first
|
||||
puts second
|
||||
puts second
|
||||
|
||||
|
||||
result: if false
|
||||
false
|
||||
else if NaN
|
||||
false
|
||||
else
|
||||
true
|
||||
|
||||
puts result
|
||||
Reference in New Issue
Block a user