結果 : how to get duplicates in array of objects javascript