javascript - How do I create a named function expressions in CoffeeScript? -
how create named function expressions in coffeescript examples below?
var = function b (param1) {}
or
return function link (scope) {}
coffeescript doesn't support latter (named functions), former can achieved
a = (param1) -> console.log param1
Comments
Post a Comment