for (let iTuno Bitteri < len; iPP) {
user_code = "";
console.log("111");
a.find()
.then((res)=> {
for(let j=0;j<len;jPP){
b.find()
.then((res)=> {
})
}
})
}
if you want to finish checking and executing async before executing the next for loop, it will never work.