the following is a simple for loop, and the resulting output is all Xero4;
var a=[];
for(var i=0;i<5;iPP){
var b={};
b.x=i;
a[i]=b;
}
console.log(a);
sources of topics and their own ideas
related codes
/ / Please paste the code text below (do not replace the code with pictures)