Conte o que está acontecendo:
Crie uma variável chamada botIntroduction.
Em seguida, use a concatenação de strings com o operador +para juntar a string "My name is "seguida pela variável bote, em seguida, um ponto ( .).
A atribuição é de valor variável botIntroduction.
Então, registre uma variável botIntroductionno console.
Qual seria o erro ???
let botIntroduction = "My name is " + bot + “.”;
console.log(botIntroduction);
Seu código até agora
console.log("Hi there!");
console.log("I am excited to talk to you.");
let bot;
bot = "teacherBot";
let botLocation = "the universe";
console.log("Allow me to introduce myself.");
// User Editable Region
let botIntroduction = "My name is " + bot + ".";
console.log(botIntroduction);
// User Editable Region
Informações do seu navegador:
User Agent é: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36
Informações do desafio:
Construa um bot de saudação - Passo 7