Beralih jQuery
switch(expression) {
case x:
// code block
break;
case y:
// code block
break;
default:
// code block
}
Grotesque Grebe
switch(expression) {
case x:
// code block
break;
case y:
// code block
break;
default:
// code block
}