WebLinuxStudy

导航

 

var json= {"height":120, "width":150};
for (var key in json) {
  console.log(key + ' -- ' + json[key]);
}

 

posted on 2022-11-17 17:25  WebLinuxStudy  阅读(296)  评论(0)    收藏  举报