Using the switch Statement in JavaScript
This tutorial will teach you how to use switch statements in JavaScript. A switch allows you to execute different code based on the provided expression. Furthermore, it allows you to greatly simplify if...else chains that evaluate the same value. Read More