Похожие чаты

Why not just use the sendMessage() AFTER the loop?

2 ответов

7 просмотров

Because ${name} is undefined if it is out the loop

David-Costa Автор вопроса
🍝 λ🦀
Because ${name} is undefined if it is out the loop

you just need to declare it first outside the loop, then inside the loop you assign the name to the variable outside the loop....

Похожие вопросы

Обсуждают сегодня

Карта сайта