I'm trying to translate this Javascript code:
if(error) {
foo();
return null;
}
bar()
into Coffeescript code, where here bar()
is another long piece of code which I don't want to indent more
Is there a better way than this?
if error
foo()
return null
bar()