413xiaol

var obj = {"name": "xiaol","age":"18"}

for(var attr in obj){
  console.log(attr);
  console.log(obj[attr])
}


name xiaol
age 18

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2021-06-17
相关资源
相似解决方案