結果 : javascript if else syntax one line