結果 : check duplicates in array object javascript