The switch statement of JavaScript - JavaScript Kit- Your comprehensive JavaScript, DHTML, CSS, and
Syntax: Example: switch (expression){case value1: statement; break; case value2: statement; break; " " default : statement;} switch (favoritemovie){case "Titanic": alert("Not a bad choice!") break; case "Water World": alert("No comment") break; case "Scre...