Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

switch case

  switch(<variable here>)
  {
    case <value 1>:
      <do this>;
      break;
    case <value 2>:
      <do this>;
      break;
    default:
      <do this>;
  }
Source by www.codeexampler.com #
 
PREVIOUS NEXT
Tagged: #switch #case
ADD COMMENT
Topic
Name
7+4 =