📜  js 对象 percorrer - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:26.090000             🧑  作者: Mango

代码示例2
const obj = {
  "column01": "Coluna 01",
  "column02": "Coluna 02"
};

for (const [key, value] of Object.entries(obj)) {
  console.log(key + ' ' + value);
}
 Executar