javascript switch multiple case
multiple cases in switch statement in JavaScript,
- Use the fall-through feature of the switch statement
- A matched case will run until a break is found
case javascript
switch (name) { case "AB": case "BC": case "CD": alert('HEY YOU'); break; default: alert('Default HII'); }