switch (foo) { case "bar": baz(); break; case "moo": break; }