function bar(a) { switch (a) { case 2: break; case 1: break; //no default } }