more more, including &&=, ||=

This commit is contained in:
Jeremy Ashkenas
2009-12-13 20:29:44 -05:00
parent 91ac495c8c
commit 896440df7c
8 changed files with 868 additions and 4056 deletions

View File

@@ -1,6 +1,5 @@
# TODO: switch/case statements
# new Function()
# Regexes
# Better block delimiters
# Functions:
square: x => x * x.
@@ -50,6 +49,10 @@ race: =>
if tired then return sleep().
race().
# Conditional operators:
good ||= evil
wine &&= cheese