object from entries with array js 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);
});