📅  最后修改于: 2022-03-11 15:03:53.144000             🧑  作者: Mango
代码示例3
const person = {
name: 'Bob',
age: 47
}
Object.keys(person).forEach((key) => {
console.log(person[key]); // 'Bob', 47
});