結果 : check if odd or even javascript