switchMulti-branch comparison.Syntaxswitch (value) { case x: ...; break; }DescriptionDon't forget to put a break after each case.ExampleLoading editor…▶ Try it yourselfExpected outputTueWhen to use?Menu, status.Related commandsif / else← if / elsefor →