結果 : check for duplicate objects in array javascript