結果 : check duplicate element in array javascript