loop over array of objects typescript code example
Example: object iteration in typescript
Object.entries(obj).forEach(
([key, value]) => console.log(key, value);
);
Object.entries(obj).forEach(
([key, value]) => console.log(key, value);
);