📍Introduction Instead of writing many If-else statements, we can use the switch statement. Syntax: switch(expression) { case x: // code block break; case y: // code block break; default: // code block } 📍The break keyword...

Markdown supported · ⌘↵ to post
No responses yet.