mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
first draft of mandatory parentheses around function definition param lists -- all tests pass
This commit is contained in:
@@ -34,7 +34,7 @@ methods: ['one', 'two', 'three']
|
||||
|
||||
for method in methods
|
||||
name: method
|
||||
obj[name]: =>
|
||||
obj[name]: () =>
|
||||
"I'm " + name
|
||||
|
||||
print obj.one() is "I'm one"
|
||||
|
||||
Reference in New Issue
Block a user