jieyuefeng
1 var obj = {};
2 obj.id = 1;
3 obj.name = "name";
4 for(prop in obj) {
5     alert(prop + ": " + obj[prop]);
6 }

 

分类:

技术点:

相关文章: