The Default-Case Pattern
David Leger
1632

I’ve always done the following:

switch (case) {
case 1:
doThings();
break;
case 2:
default:
doOtherThings();
}

But your clever exploit of linebreak/whitespace handling in JavaScript results in blocks that are much more readable!