Switch Statement - Javascript In Depth

Publié le: 02 novembre 2022
sur la chaîne: Tech with Nader
919
69

We take a look at the switch statement in Javascript together. We see how it can replace certain types of conditional if/else if/else statements. We also look at the different case behaviours like falling-through and the default case.

This is part of a series where we go over Javascript in depth to learn programming concepts as well as web development:    • Javascript In Depth  

Chapters:
00:00 Introduction
00:27 Switch Statement Intro
05:17 Switch Statement Code Example
08:10 Switch Statement Control Flow
10:00 Default Case
11:56 Default Case Code Example
13:50 Multiple Case Matches
15:45 Multiple Case Match Code Example
18:31 Break Statement
20:02 Break Statement Code Examples
22:28 Next Steps

📦 Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/javascript-...
💬 Come join us on Discord to chat with a like-minded community about tech and learning:   / discord  
🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon:   / techwithnader  


Sur cette page du site, vous pouvez voir la vidéo en ligne Switch Statement - Javascript In Depth durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tech with Nader 02 novembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 919 fois et il a aimé 69 téléspectateurs. Bon visionnage!