結果 : how to check array for duplicates javascript