iterate javascript object keys and values code example
Example: javascript iterate object key values
Object.entries(obj).forEach(([key, value]) => {
console.log(key, value);
});
Object.entries(obj).forEach(([key, value]) => {
console.log(key, value);
});