02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Switches

We are done talking about operators and if statements its time for us to explore switches. Switches are in many ways more primitive if statements we can not add operators to them but instead we list out detailed of one possible comparison of one variable. The switch statement can be replaced by performing many if-then-else-if conditions, but for the most part its easier to organize when we are only comparing the value of one closed list amount of data. for more on this let's explore the switch options in this title.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!