I'm beginner and I think the answer is easy, but after searching I'm not able find the answer.
I try to log "tab" but it seem tab += player
.name don't affect my var tab = "";
tab = "";
for (var id in response.items) {
clash({request: {proxy: process.env.PROXIMO_URL}}).playerByTag(response.items[id].tag).then(player => {
tab += player.name;
})
}
console.log(tab);
Thank you for your help.