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
En esta página del sitio puede ver el video en línea Switch Statement - Javascript In Depth de Duración hora minuto segunda en buena calidad , que subió el usuario Tech with Nader 02 noviembre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 919 veces y le gustó 69 a los espectadores. Disfruta viendo!