I have this piece of javascript:
if(this.isShown || event.isDefaultPrevented()){
return;
}
And I tried to convert it into Coffeescript but I can't seem to get the null return to work:
if @isShown or event.isDefaultPrevented()
return;
How can I get it working properly?
return;returnsundefinednotnull.returning from? Why notreturn null?