Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Declaring a Variable | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Declaring a Variable

Aufgabe

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.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 16
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Declaring a Variable

Swipe um das Menü anzuzeigen

Aufgabe

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 16
single

single

some-alt