How can I generate this output with CoffeScript?
(function(doc) {})(document);
Not exactly what you have asked, but the spirit of the code is the same and it is more coffeescriptish :
do (document) ->
# whatever
which compiles to
(function(document) {})(document);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With