結果 : how to check if object already exists in array javascript