Learn JavaScript SWITCHES in 6 minutes! 💡

58.9K views
•
October 24, 2023
by
Bro Code
YouTube video player
Learn JavaScript SWITCHES in 6 minutes! 💡

Transcript

hey what's going on everybody so today I'm going to explain switches a switch can be an efficient replacement to using many else if statements here's an example of a program I wrote without using a switch we have a day day will normally be the number 1 through 7even if day equals 1 will console.log it is Monday which you can see here if day was two... Read More

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor


Read in Other Languages (beta)

Share This Summary 📚

Explore More Summaries from Bro Code 📚