Challenge: Declaring a Variable
Swipe to start coding
In the given code, there's a console.log
line trying to output a variable called users
.
- Declare a variable called
users
. - Assign it a value of
157
.
The code should output: Number of Users: 157
.
Make sure you declare it at the correct place so that the code compiles successfully.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Can you explain this in simpler terms?
What are some examples related to this topic?
How does this information apply to real-world situations?
Awesome!
Completion rate improved to 1.33
Challenge: Declaring a Variable
Swipe to show menu
Swipe to start coding
In the given code, there's a console.log
line trying to output a variable called users
.
- Declare a variable called
users
. - Assign it a value of
157
.
The code should output: Number of Users: 157
.
Make sure you declare it at the correct place so that the code compiles successfully.
Solution
Thanks for your feedback!
single