On the problem of JS cycle

var aaa;
for (let iTuno Bitteri < 152; iPP) {

var aaa="KPI"+code1[i]+code2[i]+code3[i];

}
$(- sharpdemo2) .html (aaa)

then the output in the demo2 node shows only the last one. How should I write

Mar.29,2021

var aaa='';
for(let i=0;i < 152; iPP){

aaa+='KPI'+code1[i]+code2[i]+code3[i];
}
$(-sharpdemo2).html(aaa)
Menu