How to write this in coffeescript?
f = (function(){ // something })();
Thanks for any tips :)
do -> #your stuff here
This will create a self executing closure, which is useful for scoping.
It should be
f = () -> # do something