怎样快速的遍历json的属性 然后将属性添入数组 var arr= []; var obj = { name : 'a', age : 20, sex = 'male' }; for(a[a.length] in obj); console.log(a);