Answers for "typescripte switch"

1

typescripte switch

switch(expression) { 
   case constant-expression1: { 
      //statements; 
      break; 
   } 
   case constant_expression2: { 
      //statements; 
      break; 
   } 
   default: { 
      //statements; 
      break; 
   } 
}
Posted by: Guest on February-17-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language