Switch Statements in Javascript | Tutorial for Beginners

preview_player
Показать описание

In this video we'll work through examples of Switch Statements in Javascript. All in less than 4 minutes!

✅ Quick Concepts outline:
Switch Statements in Javascript
(00:00) Intro
(0:13) Switch Statements are Conditionals
(0:17) Basic Syntax
(0:20) Value or Expression followed by Case evaluation
(0:28) Logical Order is important
(0:33) Use break keyword
(0:38) Default option
(0:50) Example #1
(1:20) Switch statements use strict equality matches
(1:32) Example #2: Evaluate numbers
(2:12) Example #3: Rock - Paper - Scissors Decision Tree

📚 Further Reading:

📺 More Beginner JS Videos:

✅ Follow Me:

#Javascript #Switch #Statements
Рекомендации по теме
Комментарии
Автор

These videos are short but full of usefull information. Thank you!

Grihlo
Автор

I am really enjoying these videos! However, constructive criticism would be that the intro music is REALLY loud.

lpugfan
Автор

I'm not sure if I had too much caffeine or if this guy just types really fast.

travisseiter
join shbcf.ru