JavaScript switch Controls

The default Keyword

The default case does not have to be the last case in a switch block.

If default is not the last case in the switch block, remember to end the default case with a break.