結果 : if statement one line javascript