結果 : check duplicate values in array of objects javascript