✅ – _mercury – 00-13 Aug 29
I have logged
I have this code
But
these 2 lines
do not work
why ?
group as in the photoI have this code
But
these 2 lines
do not work
why ?

groupgroup as in the photo groups.forEach((group) => {
console.log(group);
return Object.keys(group).forEach((key) => {
if (!group[key]) {
delete group[key];
}
});
}); groups.forEach((group) => {
console.log(group);
return Object.keys(group).forEach((key) => {
if (!group[key]) {
delete group[key];
}
});
}); group.templates_count = parseInt(group.templates_count) || 0;
group.attributes_count = parseInt(group.attributes_count) || 0; group.templates_count = parseInt(group.templates_count) || 0;
group.attributes_count = parseInt(group.attributes_count) || 0;
