方法一: var result = []; var data = [ {name:'chen',age:'25'}, {name:'chen',age:'25'}, {name:'chen',age:'25'}, {name:'chen',age:'25'}, {name:'chen',age:'25'}, {name:'chen',age:'25'}, {name:'chen',age:'25'}, {name:'chen',age:'25'}, {name:'chen',age:'25'},…