mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
going back to familiar operators +: is just too strange
This commit is contained in:
parent
968aeec523
commit
55bf0a2c61
9 changed files with 24 additions and 29 deletions
|
@ -62,8 +62,8 @@ race: =>
|
|||
race().
|
||||
|
||||
# Conditional assignment:
|
||||
good ||: evil
|
||||
wine &&: cheese
|
||||
good ||= evil
|
||||
wine &&= cheese
|
||||
|
||||
# Nested property access and calls.
|
||||
((moon.turn(360))).shapes[3].move({x: 45, y: 30}).position['top'].offset('x')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue