Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Declaring a Boolean Value | Section
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Declaring a Boolean Value

Aufgabe

Swipe to start coding

The given code contains a conditional expression which we have not studied yet, so you don't have to worry about understanding it right now.

The code represents a program which displays "The product is available" if the variable isAvailable is true, otherwise it displays "The product is out of stock.".

Declare a new variable called isAvailable which is set to true.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 26
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 Boolean Value

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

The given code contains a conditional expression which we have not studied yet, so you don't have to worry about understanding it right now.

The code represents a program which displays "The product is available" if the variable isAvailable is true, otherwise it displays "The product is out of stock.".

Declare a new variable called isAvailable which is set to true.

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 26
single

single

some-alt