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