📜  如何通过对象映射 javascript 代码示例

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

代码示例4
const person = {fname:"John", lname:"Doe", age:25};

let text = "";
for (let x in person) {
  text += person[x];
}