JavaScript Switch Statement In 90 Seconds #JavaScriptJanuary

Channel:
Subscribers:
296,000
Published on ● Video Link: https://www.youtube.com/watch?v=JgdfIPQvyp4



Duration: 1:30
3,345 views
151


Watch the entire #JavaScriptJanuary series from the beginning!
https://www.youtube.com/playlist?list=PLkwxH9e_vrALlH7D0XLDn2td-uoHqHFxq

The switch statement is used to perform different actions based on different conditions.

First the switch expression gets evaluated. Then the value of the expression is compared with the values of each case. If there is a match, the associated block of code is executed. If there is not a match then the default block of code will run.

When JavaScript reaches a break keyword, it breaks out of the switch block. Note that if you omit the break statement, the next case will be executed even if the evaluation does not match the case.

I'll be releasing a new video every day in January! Stay tuned..
_____________________________________

๐Ÿ“š Learn to CODE in just a FEW months here:
Treehouse Discount Code: https://treehouse.7eer.net/codeSTACKr
_____________________________________

๐Ÿ› ๏ธ Tools I use:
๐ŸŸ  Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
๐ŸŸ  Font: STACKr Code (Exclusive to my VS Code Course - https://vsCodeHero.com)
๐ŸŸ  SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions

๐Ÿšข Deploy for FREE on Vercel: https://vercel.com/ambassadors/codestackr
_____________________________________

๐Ÿ’– Show support!
PayPal: https://paypal.me/codeSTACKr
_____________________________________

Watch Next:
Web Development - Beginners Roadmap (2020) - https://youtu.be/iogabydg2y0
Playlist: Web Development For Beginners - https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt
_____________________________________

Connect With Me:
Website: http://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr/
Facebook: https://facebook.com/codeSTACKr
_____________________________________

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

#JavaScriptJanuary #31Days31Videos #codeSTACKr







Tags:
JavaScriptJanuary
31Days31Videos
JavaScript
JS
Web Development
Web Dev
Web Development 2020
Web Dev 2020
HTML
CSS
Node.js
Chrome
ES5
ES6
ES7
javascript switch
js switch
javascript switch statement
js switch statement
javascript case
js switch case
javascript switch case
js case
javascript break
js break
js default
javascript default
javascript switch default
js switch default
switch case default
javascript switch case default
js switch case default