結果 : how to compare objects in array javascript