📅  最后修改于: 2022-03-11 15:04:10.338000             🧑  作者: Mango
var loop = [];
for(var x = 0; x < 10; x++){
loop.push({value1: "value_a_" + x , value2: "value_b_" + x});
}
JSON.stringify({array: loop});