标签:
var arr= []; var obj = { name : ‘a‘, age : 20, sex = ‘male‘ }; for(a[a.length] in obj); console.log(a);
怎样快速的遍历json的属性 然后将属性添入数组
原文地址:http://www.cnblogs.com/fuxiang-yang/p/4964742.html