Lesson

Selecting from many options with Switch Statements, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we look at javascript switch statements. Switch statements in javscript are similar to if, else if statements. There are certain situations where a switch statement is better and some where if, else if is better, but when possible use a switch statements for clarity sake.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: