Link to home
Start Free TrialLog in
Avatar of Ruffone
Ruffone

asked on

Multiple values in case evaluation of a switch statement

Am I able to evaluate multiple values in the case section of a switch statement
switch (country) {
        case '':
 
            break;
 
        case 'AL','DC':
 
            break;
 
        default :
 
            break;
    }

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ruffone
Ruffone

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial