JavaScript Essentials: Switch Statements

Опубликовано: 08 Апрель 2019
на канале: Code With Bubb
722
17

In this tutorial, you'll learn how to use JavaScript Switch Statements to make decisions based on the value of a variable.

So far in the series, we've seen how to make decisions in JavaScript using if statements which require a boolean value or a boolean expression to run the code inside the if statement. However you can make decisions based on the value of a variable using the JavaScript switch statement.

In the tutorial, you'll learn how to write a switch statement to handle different conditions and how to stop the code from 'falling through' to the next line of code.

Also, you'll learn how to use the JavaScript switch statement's default condition to catch any other conditions that might not be matched by your other case conditions that you specify. Channel Handle @codebubb


На этой странице сайта вы можете посмотреть видео онлайн JavaScript Essentials: Switch Statements длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Code With Bubb 08 Апрель 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 722 раз и оно понравилось 17 зрителям. Приятного просмотра!