Coffeescript — How to create a self-initiating anonymous function?

后端 未结 8 1548
半阙折子戏
半阙折子戏 2021-01-29 23:43

How to write this in coffeescript?

f = (function(){
   // something
})();

Thanks for any tips :)

8条回答
提交回复
热议问题