switch(blah){ case "blah" "blah": //if either are true then proceed doStuff(); break; default case "blah": //if either are true then proceed doStuff(); break; }