jashkenas--coffeescript/test/fixtures/execution/test_operations.coffee

9 lines
198 B
CoffeeScript
Raw Normal View History

# CoffeeScript's operations should be chainable, like Python's.
print(500 > 50 > 5 > -5)
print(true is not false is true is not false)
print(10 < 20 > 10)
print(50 > 10 > 5 is parseInt('5', 10))