📅  最后修改于: 2022-03-11 15:01:13.597000             🧑  作者: Mango
代码示例2
const data = {
"2015": {
"year": 2015,
"cover": {}
}
}
Object.entries(data).forEach(([key, value]) => console.log(key, value));