nodejs switch multiple case code example
Example: Javascript switch case code format
switch(type) {
case "SomeString":
// Functionality
break;
case "OtherString":
// Functionality
break;
default:
// Functionality
break;
}
switch(type) {
case "SomeString":
// Functionality
break;
case "OtherString":
// Functionality
break;
default:
// Functionality
break;
}