結果 : how to check duplicates in array javascript