結果 : compare objects in array javascript