switch (cnt) {
case ("string1"):
...
break;
case ("string2"):
...
break;
case ("string3"):
...
break;
default:
...
}
case "条件" 一定要用引号