typescript for of key value 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);
);