How to use JavaScript Switch-Case statement with example. You will learn how to use the switch and case statement to test expression with different values in JavaScript with the help of syntax and example.