Working with an array containing around 1500 objects, I am attempting to create a new array by eliminating elements that share a duplicate unique property. However, my function seems to be halting after processing the initial 100 elements of the array. How can I ensure that it iterates through the entire array?
const result = Array.from(new Set(DATA.map((a) => a.Numbers))).map(
(Numbers) => {
return DATA.find((a) => a.Numbers === Numbers);
}
);