結果 : check for duplicate object in array javascript