var data = [
{ name: "明天", age: "25" },
{ name: "明天", age: "25" },
{ name: "明天", age: "25" },
{ name: "明天", age: "25" },
{ name: "明天", age: "25" },
{ name: "明天", age: "25" },
{ name: "明天", age: "25" },
{ name: "明天", age: "25" },
{ name: "明天", age: "25" },
{ name: "明天", age: "25" }
];
var result = [];
for (var i = 0; i < data.length; i += 3) {
result.push(data.slice(i, i + 3));
}
console.log(result);