Switch Statement - Javascript In Depth

Published: 02 November 2022
on channel: 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  


On this page of the site you can watch the video online Switch Statement - Javascript In Depth with a duration of hours minute second in good quality, which was uploaded by the user Tech with Nader 02 November 2022, share the link with friends and acquaintances, this video has already been watched 919 times on youtube and it was liked by 69 viewers. Enjoy your viewing!