Switch Case in javascript.
Switch Case:
Switch case statement is used to select one of many blocks of code to be executed.
Syntax:
Example:
Write a program in javascript to display message depending on which day of the week it is using switch case.
output:
Comments
Post a Comment