結果 : if and else statement javascript