const person = { name: 'Bob', age: 47 } Object.keys(person).forEach((key) => { console.log(person[key]); // 'Bob', 47 });