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