javascript
switch case block scope
Switch Case Block Scope Switch case is a control statement in JavaScript that allows you to perform different actions based on different conditions. The switch case statement evaluates an expression and matches the value of the expression to a case label. If a match is found, then the corresponding block