Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Boolean 1/4 | Data Types and Variables
Introduction to JavaScript (staging)
course content

Contenido del Curso

Introduction to JavaScript (staging)

Introduction to JavaScript (staging)

1. Introduction
2. JavaScript syntax
3. Data Types and Variables

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.

12
let isClear = true; console.log(isClear);
copy

Tarea

Declare a variable isEarthFlat and assign the value false to it. Display the value on the console.

Tarea

Declare a variable isEarthFlat and assign the value false to it. Display the value on the console.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 3. Capítulo 15
toggle bottom row

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.

12
let isClear = true; console.log(isClear);
copy

Tarea

Declare a variable isEarthFlat and assign the value false to it. Display the value on the console.

Tarea

Declare a variable isEarthFlat and assign the value false to it. Display the value on the console.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

Sección 3. Capítulo 15
toggle bottom row

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.

12
let isClear = true; console.log(isClear);
copy

Tarea

Declare a variable isEarthFlat and assign the value false to it. Display the value on the console.

Tarea

Declare a variable isEarthFlat and assign the value false to it. Display the value on the console.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones

¿Todo estuvo claro?

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.

12
let isClear = true; console.log(isClear);
copy

Tarea

Declare a variable isEarthFlat and assign the value false to it. Display the value on the console.

Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 3. Capítulo 15
Cambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt