You can prevent this by using break , as in this example: switch(foo) { case 1: doSomething(); break; case 2: doSomethingElse(); }.
確定! 回上一頁