結果 : check duplicates in array javascript