結果 : check for duplicate values in array javascript