Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Null | Data Types and Variables
Introduction to JavaScript

Deslize para mostrar o menu

book
Null

What is Null

The data type null represents that there is no value. It is a primitive value in javascript.

To have a better understanding of null, we must know these two features about null:

  • null provides the non-existent value or empty value.

  • null has to be assigned to a variable as it is not assigned by default (unlike the undefined).

12
let number = null; console.log(number);
copy
Tarefa

Swipe to start coding

Declare a variable selectColor and assign the value of null to the variable and display the value of the variable.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 30
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

Awesome!

Completion rate improved to 2

book
Null

What is Null

The data type null represents that there is no value. It is a primitive value in javascript.

To have a better understanding of null, we must know these two features about null:

  • null provides the non-existent value or empty value.

  • null has to be assigned to a variable as it is not assigned by default (unlike the undefined).

12
let number = null; console.log(number);
copy
Tarefa

Swipe to start coding

Declare a variable selectColor and assign the value of null to the variable and display the value of the variable.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

close

Awesome!

Completion rate improved to 2

Deslize para mostrar o menu

some-alt