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

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -