mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-04-11 03:00:13 -04:00
the existential operator can now be used infix as well
This commit is contained in:
10
test/fixtures/execution/test_operations.coffee
vendored
10
test/fixtures/execution/test_operations.coffee
vendored
@@ -16,13 +16,3 @@ i: 0
|
||||
func: => i++
|
||||
|
||||
print(1 > func() < 1)
|
||||
|
||||
|
||||
# The conditional assignment based on existence.
|
||||
|
||||
a: 5
|
||||
a: null
|
||||
a ?= 10
|
||||
b ?= 10
|
||||
|
||||
print(a is 10 and b is 10)
|
||||
Reference in New Issue
Block a user