結果 : single line if statement javascript