結果 : switch case with two conditions javascript