Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

elif exist in js?

switch (true) {
  case condition1:
     //e.g. if (condition1 === true)
     break;
  case condition2:
     //e.g. elseif (condition2 === true)
     break;
  default:
     //e.g. else
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #elif #exist
ADD COMMENT
Topic
Name
7+8 =