typescriptloop through object 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);
);