javascript swit on int code example
Example: switch case in js
var coll1="kjc;
switch(coll1)
{
case "kjc":
alert("youre special");
break;
case "horizon":
alert("worst behaviour");
break;
case "cmr" :
alert("worst character");
break;
default:
alert("kjc is best");
break;
}