結果 : check for duplicate values in an array javascript