In Python one can use the ‘pass’ statement to do nothing:
if true:
pass
Is there a similar statement in coffeescript?
I’m trying to do a switch statement and do nothing if certain conditions are met.
switch variable:
when 5 then pass
else do variable
i’m a happy user of
since
nullis already in the language and does semantically transport that meaning of ‘nothing’.