mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
allowing indentation within function calls
This commit is contained in:
17
test/fixtures/execution/test_arguments.coffee
vendored
Normal file
17
test/fixtures/execution/test_arguments.coffee
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
area: x, y, x1, y1 =>
|
||||
(x - x1) * (x - y1)
|
||||
|
||||
x: y: 10
|
||||
x1: y1: 20
|
||||
|
||||
print(area(x, y, x1, y1) is 100 )
|
||||
|
||||
print(area(x, y,
|
||||
x1, y1) is 100)
|
||||
|
||||
print(area(
|
||||
x
|
||||
y
|
||||
x1
|
||||
y1
|
||||
) is 100)
|
||||
Reference in New Issue
Block a user