let b = 2;
let c = 1;
switch (b) {
case 1:
c = 2;
break;
case 2:
c = 3;
break;
default:
c = 4;
}
$b = 2;
$c = 1;
switch ($b) {
case 1:
$c = 2;
break;
case 2:
$c = 3;
break;
default:
$c = 4;
}