結果 : how to check duplicate elements in array javascript