173
rated 0 times
[
179]
[
6]
/ answers: 1 / hits: 24097
/ 12 Years ago, tue, may 8, 2012, 12:00:00
Is it possible to use switch in coffeescript without break?
switch code switch (code) {
when 37 then case 37: break;
when 38 then -> case 38: break;
when 39 then case 39: break;
when 40 case 40:
... ...
I thought this will work but failed:
switch code
when 37 then continue
when 38 then continue -> not valid
when 39 then continue
when 40
...
More From » coffeescript