switch and the Conditional Operator
A switch statement matches one value against a list of exact choices, and the conditional operator ? : picks one of two values in a single line, so a long chain of else ifs can say what it means.
Updated

- Category
- JavaScript
- Level
- Apprentice
- Tags
- JavaScript, switch Statement (javascript), Ternary Operator (javascript)