I am getting the error forEach is not a function. Can anyone please help? Basically i want to create a shallow copy of filteredSettlements and use that for iteration. Here is the code snippet for more details
const test = $.extend({}, test1);
test.forEach((test1) => {
//anything
});