1
0
Fork 0
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:
Jeremy Ashkenas 2009-12-25 07:31:51 -08:00
parent 968aeec523
commit 55bf0a2c61
9 changed files with 24 additions and 29 deletions

View file

@ -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')