O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 12 de 15 · Mídia

Different types

Kostas Diakogiannis

Different types

The 'Typeof' keyword

 

JS gives us the opportunity to check for the type of data of every data structure when we want.

This is done by the typeof keyword and is followed by the value. The returned value is the name of the type of the value. For example 'string', or 'number' etc.

ex. console.log(typeof 10); // returns "number"

Bring the last exercise with the 3 different concatenations, but modify the code in such a way, so you print the type of the result instead of the result itself. What can you see?

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?