In this video we'll learn about the Switch statement in Javascript.
Switch is a logic statement very much like an If/Else statement, but using certain specific 'cases'.
We'll learn how to use them, and why you might want to use them, in this video.
#javascript #codemy #JohnElder
Timecodes
0:00 - Introduction
1:08 - Create A Variable
1:18 - Create A Switch
2:24 - Break Statement
3:02 - Default Statement
3:35 - Test It Out
4:08 - Case Sensitive
4:38 - Break Stops Everything
5:17 - When To Use Switch
5:43 - Conclusion