Please enable JavaScript to use CodeHS

CodeHS Glossary


switch statement General

A selection statement that evaluates one expression and jumps to the case label with a matching constant value, running statements until a break or the end of the switch.