switch (foo) { case "bar": doSomething(); case "baz": doOtherThing(); } switch (foo) { case "bar": doSomething(); case "baz": doOtherThing(); } switch (foo) { case "bar": doSomething(); case "baz": doOtherThing(); } switch (foo) { case "bar": doSomething(); case "baz": doOtherThing(); } switch (x) { case y: call(); break; case z: call(); break; }