結果 : javascript detect duplicates in array