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