loop obect in js code example
Example 1: javascript loop through object
Object.entries(obj).forEach(
([key, value]) => console.log(key, value)
);
Example 2: javascript loop object
for (let thisVariable in thisObject)
Object.entries(obj).forEach(
([key, value]) => console.log(key, value)
);
for (let thisVariable in thisObject)