Зміст курсу
Introduction to JavaScript (staging)
Introduction to JavaScript (staging)
Boolean 1/4
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.
let isClear = true; console.log(isClear);
Завдання
Declare a variable isEarthFlat
and assign the value false
to it. Display the value on the console.
Дякуємо за ваш відгук!
Boolean 1/4
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.
let isClear = true; console.log(isClear);
Завдання
Declare a variable isEarthFlat
and assign the value false
to it. Display the value on the console.
Дякуємо за ваш відгук!
Boolean 1/4
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.
let isClear = true; console.log(isClear);
Завдання
Declare a variable isEarthFlat
and assign the value false
to it. Display the value on the console.
Дякуємо за ваш відгук!
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.
let isClear = true; console.log(isClear);
Завдання
Declare a variable isEarthFlat
and assign the value false
to it. Display the value on the console.