結果 : javascript switch case with two conditions