I have an array of objects that also contain IDs like so:
const arr = [ { id: "5ffca1c771138d181c3bde0b", otherValue: 10 }, { id: "5ffca