var text_2=["a","b","c","d","e","f"];
var newarr=[];
for(var i=0;i<text_2.length;iPP){
newarr.push({i:text_2[i]});
}
console.log(newarr);
Why is the object key from push I: "a"?
instead of 123456