Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

switch js

switch(expression) {
  case x:
    // code block
    break;
  default:
    // code block
}
Source by tapajyoti-bose.medium.com #
 
PREVIOUS NEXT
Tagged: #switch #js
ADD COMMENT
Topic
Name
1+4 =