Lesson

Adding a default option in Switch statements, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn about the default case in javascript switch statements. Switch statements in javascript can use a default case which is similar to the final else statement in if, else if conditions.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: