結果 : javascript compare three values