iterate the values of the properties in an object code example
Example 1: object iteration in typescript
Object.entries(obj).forEach(
([key, value]) => console.log(key, value);
);
Example 2: loop in object javascript
var person = {"name":"Rasel", age:26};
for (var property in person) {
console.log(person[property]);
}