Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Javascript switch case code format

switch(type) {
	case "SomeString":
		// Functionality
		break;
	case "OtherString":
		// Functionality
		break;
	default:
		// Functionality
		break;
}
 
PREVIOUS NEXT
Tagged: #Javascript #switch #case #code #format
ADD COMMENT
Topic
Name
3+6 =