Multiple Identical Options in Switch Statements, freeCodeCamp Basic Javascript

Lesson Summary

In this lesson we go over multiple identical Javascript Switch Statements. Switch statements in javscript are similar to if, else if statements, but can be more clear and less convoluted as well. They usually require less code as well, and serve very much the same function that if and else if serve but when dealing with multiple identical options a switch statement in javascript will be cleaner and easier to write.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required