ghow to do looping in js object code example
Example: javascript loop through object
Object.entries(obj).forEach(
([key, value]) => console.log(key, value)
);
Object.entries(obj).forEach(
([key, value]) => console.log(key, value)
);