Switch statements compare the value of an expression against 1 or more values and executes different sections of code based on that comparison.
The break statement "breaks" out of the switch statement and ensures no more code within the switch statement is executed. This is how sections are defined and allows the user to make "fall through" cases.
'I will run if value === 1 or value === 2'
The last case is the default case. This one will run if no other matches were made.
It should be noted that a case expression can be any kind of Expression. This means you can use comparisons, function calls, etc. as case values.
Multiple Inclusive Criteria for Cases
Since cases "fall through" without a break or return statement, you can use this to create multiple inclusive criteria: