Files
coffeescript/test/fixtures/execution/test_literals.coffee
Jeremy Ashkenas 2cef93b381 test for uminus
2010-01-01 10:17:33 -05:00

14 lines
171 B
CoffeeScript

a: [(x => x), (x => x * x)]
print(a.length is 2)
regex: /match/i
words: "I think there is a match in here."
print(!!words.match(regex))
neg: (3 -4)
print(neg is -1)