It would be really cool if for example, in addition to this:
func = (foo, bar="bar") ->
We could do for example:
func = (foo [,String bar="bar"], function callback) ->
And it would be translated into:
func = function(foo, bar, callback) {
if(typeof bar === "function") {
callback = bar;
bar = "bar"
}
}
And many more other options
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4107903-more-function-arguments-options?utm_campaign=plugin&utm_content=tracker%2F33145&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F33145&utm_medium=issues&utm_source=github).
It would be really cool if for example, in addition to this:
We could do for example:
And it would be translated into:
And many more other options