Answers for "ts switch"

4

ts switch

switch(expression) { 
   case constant-expression1: { 
      //statements; 
      break; 
   } 
   case constant_expression2: { 
      //statements; 
      break; 
   } 
   default: { 
      //statements; 
      break; 
   } 
}
Posted by: Guest on April-09-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language