mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 03:21:20 -05:00
changing switch/case to switch/when -- it's a better word
This commit is contained in:
@@ -594,7 +594,7 @@ module CoffeeScript
|
||||
end
|
||||
end
|
||||
|
||||
# If/else statements. Switch/cases get compiled into these. Acts as an
|
||||
# If/else statements. Switch/whens get compiled into these. Acts as an
|
||||
# expression by pushing down requested returns to the expression bodies.
|
||||
# Single-expression IfNodes are compiled into ternary operators if possible,
|
||||
# because ternaries are first-class returnable assignable expressions.
|
||||
|
||||
Reference in New Issue
Block a user