How to remove the objects that have the same field as another object in javascript
I have an array like this: const array =[ { “value”: { “departure”: { “id”: “1203548” }, “date”: { “start”: “2023-11-09”, “end”: “” }, “type”: “1” }, “time”: 1699004845364, “expire”: 1699488000000 }, { “value”: { “departure”: { “id”: “1203548” }, “date”: { “start”: “2023-11-09”, “end”: “” }, “type”: “1” }, “time”: 1699004845364, “expire”: 1699488000000 }, … Read more