Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Boolean Naming Convention | JavaScript syntax
Introduction to JavaScript (staging)
course content

Conteúdo do Curso

Introduction to JavaScript (staging)

Introduction to JavaScript (staging)

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

Boolean Naming Convention

Boolean naming convention

Boolean, in programming, is a data type that is either true or false. Prefixes like is, has, and are added in the booleans to distinguish them from other variables. Boolean data-type has two values true or false.

Note We will discuss booleans in more detail in the upcoming chapters.

1234567
// Not clear that the identifier is a boolean let clear = true; console.log(clear); // clear that the identifier is a boolean let isClear = true; console.log(isClear);
copy

Tarefa

Declare a boolean variable with an identifier Raining. Use the prefix is with the above boolean variable and store the false value in it. Display the value of the variable in the end.

Tarefa

Declare a boolean variable with an identifier Raining. Use the prefix is with the above boolean variable and store the false value in it. Display the value of the variable in the end.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 9
toggle bottom row

Boolean Naming Convention

Boolean naming convention

Boolean, in programming, is a data type that is either true or false. Prefixes like is, has, and are added in the booleans to distinguish them from other variables. Boolean data-type has two values true or false.

Note We will discuss booleans in more detail in the upcoming chapters.

1234567
// Not clear that the identifier is a boolean let clear = true; console.log(clear); // clear that the identifier is a boolean let isClear = true; console.log(isClear);
copy

Tarefa

Declare a boolean variable with an identifier Raining. Use the prefix is with the above boolean variable and store the false value in it. Display the value of the variable in the end.

Tarefa

Declare a boolean variable with an identifier Raining. Use the prefix is with the above boolean variable and store the false value in it. Display the value of the variable in the end.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 9
toggle bottom row

Boolean Naming Convention

Boolean naming convention

Boolean, in programming, is a data type that is either true or false. Prefixes like is, has, and are added in the booleans to distinguish them from other variables. Boolean data-type has two values true or false.

Note We will discuss booleans in more detail in the upcoming chapters.

1234567
// Not clear that the identifier is a boolean let clear = true; console.log(clear); // clear that the identifier is a boolean let isClear = true; console.log(isClear);
copy

Tarefa

Declare a boolean variable with an identifier Raining. Use the prefix is with the above boolean variable and store the false value in it. Display the value of the variable in the end.

Tarefa

Declare a boolean variable with an identifier Raining. Use the prefix is with the above boolean variable and store the false value in it. Display the value of the variable in the end.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Boolean naming convention

Boolean, in programming, is a data type that is either true or false. Prefixes like is, has, and are added in the booleans to distinguish them from other variables. Boolean data-type has two values true or false.

Note We will discuss booleans in more detail in the upcoming chapters.

1234567
// Not clear that the identifier is a boolean let clear = true; console.log(clear); // clear that the identifier is a boolean let isClear = true; console.log(isClear);
copy

Tarefa

Declare a boolean variable with an identifier Raining. Use the prefix is with the above boolean variable and store the false value in it. Display the value of the variable in the end.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 2. Capítulo 9
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt