結果 : check if duplicate value exists in array of objects javascript