Challenge: Define the Variable
Task
- Define a variable named
myVar
and assign the value15
to it. - Print the variable
myVar
to the console.
123___ ___ = ___; console.log(___);
- Use the
let
keyword to declare a variable. - Assign the value 15 to the variable using the assignment operator (
=
). - Use the
console.log()
function to print the variable's value to the console.
123let myVar = 15; console.log(myVar);
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 2
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 2.33
Challenge: Define the Variable
Deslize para mostrar o menu
Task
- Define a variable named
myVar
and assign the value15
to it. - Print the variable
myVar
to the console.
123___ ___ = ___; console.log(___);
- Use the
let
keyword to declare a variable. - Assign the value 15 to the variable using the assignment operator (
=
). - Use the
console.log()
function to print the variable's value to the console.
123let myVar = 15; console.log(myVar);
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 2