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
Nesta página do site você pode assistir ao vídeo on-line Switch Statement - Javascript In Depth duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Tech with Nader 02 Novembro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 919 vezes e gostou 69 espectadores. Boa visualização!