Fantastisk!
Completion rate forbedret til 2Seksjon 3. Kapittel 15
single
Boolean 1/4
Sveip for å vise menyen
What are Booleans Values
The boolean data type is either true or false. In programming, we often need to know if an expression (code snippet which evaluates to some value) is true or false so in that case, we use boolean values. In JavaScript, boolean variables are defined by the true and false keywords.
12let isClear = true; console.log(isClear);
Oppgave
Swipe to start coding
Declare a variable isEarthFlat and assign the value false to it. Display the value on the console.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 15
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår