結果 : if then else statement javascript